What is hex #FF97FA color?

 
The hex code #FF97FA is closest to the named color Violet (#EE82EE).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 100% red, 59% green and 98% blue, resulting in rgb(255, 151, 250) and hsl(303, 100%, 80%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 41%, 2%, 0%).
In the HSV/HSB scale, #FF97FA features a hue of 303°, 41% saturation, and 100% brightness.

Hex #FF97FA Color Codes & Conversions

Closest Named Color
Violet (#EE82EE)
Hex Code #FF97FA
Hex8 (RGBA Hex) #FF97FAFF
RGB (CSS) rgb(255, 151, 250)
RGBA (CSS) rgba(255, 151, 250, 1)
HSL (CSS) hsl(303, 100%, 80%)
HSLA (CSS) hsla(303, 100%, 80%, 1)
HSV / HSB (303°, 41%, 100%)
CMYK Values (0%, 41%, 2%, 0%)
OKLCH (Modern CSS) oklch(81.7% 0.173 328.8)
CIE-LAB (D65) 76.25, 52.95, -33.03
CIE XYZ 69.56, 50.30, 96.47
Decimal / Binary 16750586
11111111 10010111 11111010

Closest Standards & Equivalents

Closest Web Safe
#FF99FF
Inverse Color
#006805
Complementary Color
#97FF9C
Closest Pantone®
Pantone 236 C
Closest RAL
RAL 9016 [Traffic white]

#FF97FA Grayscale Equivalents

Average
#DBDBDB
Lightness (Desaturation)
#CBCBCB
Weighted (BT601)
#C1C1C1
Luma (BT709)
#B4B4B4

WCAG 2.1 Color Contrast & Accessibility

Check how #FF97FA complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #FF97FA

Sample preview of readable typography on top of #FF97FA.

Contrast Ratio: 1.9:1
AA Fail AAA Fail

Black Text on #FF97FA

Sample preview of readable typography on top of #FF97FA.

Contrast Ratio: 11.06:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FF97FA

Preview #FF97FA in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FF97FA;
Typography Color Preview
color: #FF97FA;
Border & Shadow Preview
border: 2px solid #FF97FA;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FF97FA;
  --color-primary-rgb: 255, 151, 250;
  --color-complementary: #97FF9C;
}
.btn-accent {
  background-color: #FF97FA;
  color: #000000;
}

Hex #FF97FA Color Palettes

Complementary Palette

The complementary color of #FF97FA is #97FF9C. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #FF97FA pairs with #D097FF and #FF97C6, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FF97FA pairs with #97FFD0 and #C6FF97, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF97FA uses #97FAFF and #FAFF97, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF97FA combines #FAFF97, #97FF9C and #9C97FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF97FA pairs with #FFD097, #97FF9C and #97C6FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF97FA

Tints

Tints are created by mixing #FF97FA with white, producing lighter variations.

Tones

Tones are created by mixing #FF97FA with gray, softening saturation.

Shades

Shades result from mixing #FF97FA with black, creating deeper variations.

Hex #FF97FA in Programming & CSS Frameworks

Copy the exact syntax for #FF97FA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FF97FA
Tailwind CSS bg-[#FF97FA] text-[#FF97FA]
Java (AWT) new Color(255,151,250);
Python Color("#FF97FA")
.NET (C#) Color.FromArgb(255, 255,151,250);
Swift / iOS UIColor(red: 1, green: 0.59, blue: 0.98, alpha: 1)
Kotlin / Android Color.rgb(255, 151, 250)