#F17FE2#F17FE2
#F17FE2 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.6% C 0.183 H 332.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F17FE2 |
|---|---|
| RGB | rgb(241, 127, 226) |
| HSL | hsl(308, 80%, 72%) |
| HSV | hsv(308, 47%, 95%) |
| CMYK | cmyk(0%, 47.3%, 6.2%, 5.5%) |
| CIE-LAB | lab(69.02, 56.63, -31.21) |
| CIE-LCH | lch(69.02, 64.66, 331.14°) |
| OKLab | oklab(75.61% 0.1617 -0.0848) |
| OKLCH | oklch(75.61% 0.183 332.3) |
| XYZ | xyz(57.5922, 39.3740, 76.5032) |
| Luminance | 0.3937 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.34
Violet (CSS)
#EE82EE
ΔE00 2.37
Lavender Pink
#DD85D7
ΔE00 3.52
Candy Pink
#FF63E9
ΔE00 4.80
Orchid
#DA70D6
ΔE00 5.29
Bubblegum Pink
#FE83CC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F17FE2 #7FF18E
analogous
#C77FF1 #F17FE2 #F17FA9
triadic
#F17FE2 #E2F17F #7FE2F1
tetradic
#F17FE2 #F1C77F #7FF18E #7FA9F1
square
#F17FE2 #F1C77F #7FF18E #7FA9F1
split-complementary
#F17FE2 #A9F17F #7FF1C7
monochromatic
#DD18C3 #EB48D6 #F17FE2 #F7B6EE #FCE3F9
Accessibility & contrast
On white
2.37
#F17FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#F17FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F17FE2
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F17FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F17FE2 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#9CAEDF
Tritanopia (blue-blind)
#FA87A6
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #f17fe2; /* rgb */ color: rgb(241, 127, 226); /* oklch */ color: oklch(75.6% 0.183 332.3);
Tailwind
colors: {
custom: {
50: '#f8a8eb',
500: '#f17fe2',
950: '#000000',
},
}SCSS
$custom: #f17fe2; $custom-light: #f8a8eb; $custom-dark: #000000;
JSON
{
"hex": "#f17fe2",
"rgb": {
"r": 241,
"g": 127,
"b": 226
},
"hsl": {
"h": 307.895,
"s": 80.282,
"l": 72.157
},
"oklch": {
"l": 0.75608,
"c": 0.18255,
"h": 332.3
},
"luminance": 0.39371
}Semantic roles & 50–950 ramp
primary
#F17FE2
secondary
#D7F4DB
accent
#DD2509
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84