#F17EF2#F17EF2
#F17EF2 is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.2% C 0.198 H 327.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #F17EF2 |
|---|---|
| RGB | rgb(241, 126, 242) |
| HSL | hsl(299, 82%, 72%) |
| HSV | hsv(299, 48%, 95%) |
| CMYK | cmyk(0.4%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(69.50, 59.84, -39.29) |
| CIE-LCH | lch(69.50, 71.58, 326.71°) |
| OKLab | oklab(76.18% 0.1659 -0.1078) |
| OKLCH | oklch(76.18% 0.198 327) |
| XYZ | xyz(59.7624, 40.0365, 88.5671) |
| Luminance | 0.4003 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.05
Purply Pink
#F075E6
ΔE00 2.37
Candy Pink
#FF63E9
ΔE00 4.67
Light Magenta
#FA5FF7
ΔE00 4.96
Violet Pink
#FB5FFC
ΔE00 5.07
Lavender Pink
#DD85D7
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F17EF2 #7FF27E
analogous
#B77EF2 #F17EF2 #F27EB9
triadic
#F17EF2 #F2F17E #7EF2F1
tetradic
#F17EF2 #F2B77E #7FF27E #7EB9F2
square
#F17EF2 #F2B77E #7FF27E #7EB9F2
split-complementary
#F17EF2 #B9F27E #7EF2B7
monochromatic
#DD16DF #EB46EC #F17EF2 #F7B6F8 #FCE3FC
Accessibility & contrast
On white
2.33
#F17EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#F17EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F17EF2
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F17EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F17EF2 | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#95AFEE
Tritanopia (blue-blind)
#F78BAD
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #f17ef2; /* rgb */ color: rgb(241, 126, 242); /* oklch */ color: oklch(76.2% 0.198 327.0);
Tailwind
colors: {
custom: {
50: '#f8a7f6',
500: '#f17ef2',
950: '#000000',
},
}SCSS
$custom: #f17ef2; $custom-light: #f8a7f6; $custom-dark: #000000;
JSON
{
"hex": "#f17ef2",
"rgb": {
"r": 241,
"g": 126,
"b": 242
},
"hsl": {
"h": 299.483,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.76175,
"c": 0.19784,
"h": 327
},
"luminance": 0.40033
}Semantic roles & 50–950 ramp
primary
#F17EF2
secondary
#D7F4D7
accent
#DE0709
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85