#F17FE4#F17FE4
#F17FE4 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.7% C 0.184 H 331.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #F17FE4 |
|---|---|
| RGB | rgb(241, 127, 228) |
| HSL | hsl(307, 80%, 72%) |
| HSV | hsv(307, 47%, 95%) |
| CMYK | cmyk(0%, 47.3%, 5.4%, 5.5%) |
| CIE-LAB | lab(69.10, 56.96, -32.20) |
| CIE-LCH | lch(69.10, 65.43, 330.52°) |
| OKLab | oklab(75.69% 0.1621 -0.0876) |
| OKLCH | oklch(75.69% 0.184 331.6) |
| XYZ | xyz(57.8682, 39.4844, 77.9570) |
| Luminance | 0.3948 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.02
Purply Pink
#F075E6
ΔE00 2.15
Lavender Pink
#DD85D7
ΔE00 3.63
Candy Pink
#FF63E9
ΔE00 4.71
Orchid
#DA70D6
ΔE00 5.27
Light Magenta
#FA5FF7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F17FE4 #7FF18C
analogous
#C57FF1 #F17FE4 #F17FAB
triadic
#F17FE4 #E4F17F #7FE4F1
tetradic
#F17FE4 #F1C57F #7FF18C #7FABF1
square
#F17FE4 #F1C57F #7FF18C #7FABF1
split-complementary
#F17FE4 #ABF17F #7FF1C5
monochromatic
#DD18C7 #EB48D8 #F17FE4 #F7B6F0 #FCE3F9
Accessibility & contrast
On white
2.36
#F17FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#F17FE4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F17FE4
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F17FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F17FE4 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B9FE7
Deuteranopia (green-blind)
#9BAEE1
Tritanopia (blue-blind)
#F987A7
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #f17fe4; /* rgb */ color: rgb(241, 127, 228); /* oklch */ color: oklch(75.7% 0.184 331.6);
Tailwind
colors: {
custom: {
50: '#f8a8ec',
500: '#f17fe4',
950: '#000000',
},
}SCSS
$custom: #f17fe4; $custom-light: #f8a8ec; $custom-dark: #000000;
JSON
{
"hex": "#f17fe4",
"rgb": {
"r": 241,
"g": 127,
"b": 228
},
"hsl": {
"h": 306.842,
"s": 80.282,
"l": 72.157
},
"oklch": {
"l": 0.75693,
"c": 0.18421,
"h": 331.6
},
"luminance": 0.39481
}Semantic roles & 50–950 ramp
primary
#F17FE4
secondary
#D7F4DA
accent
#DD2109
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84