#F166E4#F166E4
#F166E4 is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.5% C 0.222 H 331.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F166E4 |
|---|---|
| RGB | rgb(241, 102, 228) |
| HSL | hsl(306, 83%, 67%) |
| HSV | hsv(306, 58%, 95%) |
| CMYK | cmyk(0%, 57.7%, 5.4%, 5.5%) |
| CIE-LAB | lab(64.81, 68.41, -38.87) |
| CIE-LCH | lch(64.81, 78.68, 330.40°) |
| OKLab | oklab(72.53% 0.195 -0.1064) |
| OKLCH | oklch(72.53% 0.222 331.4) |
| XYZ | xyz(55.0304, 33.8088, 77.0110) |
| Luminance | 0.3381 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.07
Purply Pink
#F075E6
ΔE00 2.59
Light Magenta
#FA5FF7
ΔE00 2.86
Violet Pink
#FB5FFC
ΔE00 3.51
Orchid
#DA70D6
ΔE00 3.81
Violet (CSS)
#EE82EE
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F166E4 #66F173
analogous
#B966F1 #F166E4 #F1669E
triadic
#F166E4 #E4F166 #66E4F1
tetradic
#F166E4 #F1B966 #66F173 #669EF1
square
#F166E4 #F1B966 #66F173 #669EF1
split-complementary
#F166E4 #9EF166 #66F1B9
monochromatic
#CA12B9 #EC2EDA #F166E4 #F69EEE #FBD6F8
Accessibility & contrast
On white
2.71
#F166E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#F166E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F166E4
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F166E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F166E4 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F91E8
Deuteranopia (green-blind)
#8CA4E0
Tritanopia (blue-blind)
#FA729C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #f166e4; /* rgb */ color: rgb(241, 102, 228); /* oklch */ color: oklch(72.5% 0.222 331.4);
Tailwind
colors: {
custom: {
50: '#f999ed',
500: '#f166e4',
950: '#000000',
},
}SCSS
$custom: #f166e4; $custom-light: #f999ed; $custom-dark: #000000;
JSON
{
"hex": "#f166e4",
"rgb": {
"r": 241,
"g": 102,
"b": 228
},
"hsl": {
"h": 305.612,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.72527,
"c": 0.2221,
"h": 331.4
},
"luminance": 0.33805
}Semantic roles & 50–950 ramp
primary
#F166E4
secondary
#C3EFC8
accent
#E01A06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84