#F166E7#F166E7
#F166E7 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.7% C 0.224 H 330.5°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #F166E7 |
|---|---|
| RGB | rgb(241, 102, 231) |
| HSL | hsl(304, 83%, 67%) |
| HSV | hsv(304, 58%, 95%) |
| CMYK | cmyk(0%, 57.7%, 4.1%, 5.5%) |
| CIE-LAB | lab(64.94, 68.89, -40.33) |
| CIE-LCH | lch(64.94, 79.83, 329.66°) |
| OKLab | oklab(72.67% 0.1953 -0.1106) |
| OKLCH | oklch(72.67% 0.224 330.5) |
| XYZ | xyz(55.4505, 33.9768, 79.2234) |
| Luminance | 0.3397 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.14
Light Magenta
#FA5FF7
ΔE00 2.44
Purply Pink
#F075E6
ΔE00 2.65
Violet Pink
#FB5FFC
ΔE00 3.07
Orchid
#DA70D6
ΔE00 3.97
Violet (CSS)
#EE82EE
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F166E7 #66F170
analogous
#B666F1 #F166E7 #F166A1
triadic
#F166E7 #E7F166 #66E7F1
tetradic
#F166E7 #F1B666 #66F170 #66A1F1
square
#F166E7 #F1B666 #66F170 #66A1F1
split-complementary
#F166E7 #A1F166 #66F1B6
monochromatic
#CA12BD #EC2EDE #F166E7 #F69EF0 #FBD6F9
Accessibility & contrast
On white
2.69
#F166E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#F166E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F166E7
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F166E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F166E7 | 1.00 | 2.69 | 7.79 | 7.79 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#8AA4E3
Tritanopia (blue-blind)
#F9739D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f166e7; /* rgb */ color: rgb(241, 102, 231); /* oklch */ color: oklch(72.7% 0.224 330.5);
Tailwind
colors: {
custom: {
50: '#f999ef',
500: '#f166e7',
950: '#000000',
},
}SCSS
$custom: #f166e7; $custom-light: #f999ef; $custom-dark: #000000;
JSON
{
"hex": "#f166e7",
"rgb": {
"r": 241,
"g": 102,
"b": 231
},
"hsl": {
"h": 304.317,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.72668,
"c": 0.22445,
"h": 330.5
},
"luminance": 0.33973
}Semantic roles & 50–950 ramp
primary
#F166E7
secondary
#C3EFC7
accent
#E01606
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84