#F166EB#F166EB
#F166EB is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.9% C 0.228 H 329.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #F166EB |
|---|---|
| RGB | rgb(241, 102, 235) |
| HSL | hsl(303, 83%, 67%) |
| HSV | hsv(303, 58%, 95%) |
| CMYK | cmyk(0%, 57.7%, 2.5%, 5.5%) |
| CIE-LAB | lab(65.13, 69.54, -42.26) |
| CIE-LCH | lch(65.13, 81.38, 328.71°) |
| OKLab | oklab(72.86% 0.1958 -0.1161) |
| OKLCH | oklch(72.86% 0.228 329.3) |
| XYZ | xyz(56.0218, 34.2054, 82.2327) |
| Luminance | 0.3420 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.94
Candy Pink
#FF63E9
ΔE00 2.39
Violet Pink
#FB5FFC
ΔE00 2.53
Purply Pink
#F075E6
ΔE00 2.85
Orchid
#DA70D6
ΔE00 4.26
Violet (CSS)
#EE82EE
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F166EB #66F16C
analogous
#B266F1 #F166EB #F166A6
triadic
#F166EB #EBF166 #66EBF1
tetradic
#F166EB #F1B266 #66F16C #66A6F1
square
#F166EB #F1B266 #66F16C #66A6F1
split-complementary
#F166EB #A6F166 #66F1B2
monochromatic
#CA12C2 #EC2EE4 #F166EB #F69EF2 #FBD6FA
Accessibility & contrast
On white
2.68
#F166EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#F166EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F166EB
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F166EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F166EB | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#88A5E7
Tritanopia (blue-blind)
#F9759F
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f166eb; /* rgb */ color: rgb(241, 102, 235); /* oklch */ color: oklch(72.9% 0.228 329.3);
Tailwind
colors: {
custom: {
50: '#f999f2',
500: '#f166eb',
950: '#000000',
},
}SCSS
$custom: #f166eb; $custom-light: #f999f2; $custom-dark: #000000;
JSON
{
"hex": "#f166eb",
"rgb": {
"r": 241,
"g": 102,
"b": 235
},
"hsl": {
"h": 302.59,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.7286,
"c": 0.22763,
"h": 329.3
},
"luminance": 0.34202
}Semantic roles & 50–950 ramp
primary
#F166EB
secondary
#C3EFC5
accent
#E00F06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85