#F97CFE#F97CFE
#F97CFE is a light, highly saturated purple. Relative luminance 0.417; OKLCH L 77.4% C 0.216 H 325.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F97CFE |
|---|---|
| RGB | rgb(249, 124, 254) |
| HSL | hsl(298, 98%, 74%) |
| HSV | hsv(298, 51%, 100%) |
| CMYK | cmyk(2%, 51.2%, 0%, 0.4%) |
| CIE-LAB | lab(70.67, 65.02, -43.94) |
| CIE-LCH | lch(70.67, 78.48, 325.95°) |
| OKLab | oklab(77.43% 0.179 -0.121) |
| OKLCH | oklch(77.43% 0.216 325.9) |
| XYZ | xyz(64.1626, 41.7143, 98.4187) |
| Luminance | 0.4171 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.77
Purply Pink
#F075E6
ΔE00 3.73
Violet Pink
#FB5FFC
ΔE00 4.51
Light Magenta
#FA5FF7
ΔE00 4.63
Candy Pink
#FF63E9
ΔE00 4.94
Lavender Pink
#DD85D7
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F97CFE #81FE7C
analogous
#B87CFE #F97CFE #FE7CC2
triadic
#F97CFE #FEF97C #7CFEF9
tetradic
#F97CFE #FEB87C #81FE7C #7CC2FE
square
#F97CFE #FEB87C #81FE7C #7CC2FE
split-complementary
#F97CFE #C2FE7C #7CFEB8
monochromatic
#F303FD #F63FFE #F97CFE #FCB9FE #FEE1FF
Accessibility & contrast
On white
2.25
#F97CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#F97CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F97CFE
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F97CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F97CFE | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#94B2FA
Tritanopia (blue-blind)
#FF8BB2
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #f97cfe; /* rgb */ color: rgb(249, 124, 254); /* oklch */ color: oklch(77.4% 0.216 325.9);
Tailwind
colors: {
custom: {
50: '#fea7ff',
500: '#f97cfe',
950: '#000000',
},
}SCSS
$custom: #f97cfe; $custom-light: #fea7ff; $custom-dark: #000000;
JSON
{
"hex": "#f97cfe",
"rgb": {
"r": 249,
"g": 124,
"b": 254
},
"hsl": {
"h": 297.692,
"s": 98.485,
"l": 74.118
},
"oklch": {
"l": 0.77428,
"c": 0.21606,
"h": 325.9
},
"luminance": 0.41711
}Semantic roles & 50–950 ramp
primary
#F97CFE
secondary
#D5F7D4
accent
#E60009
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86