#F166EF#F166EF
#F166EF is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 73.1% C 0.231 H 328.2°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #F166EF |
|---|---|
| RGB | rgb(241, 102, 239) |
| HSL | hsl(301, 83%, 67%) |
| HSV | hsv(301, 58%, 95%) |
| CMYK | cmyk(0%, 57.7%, 0.8%, 5.5%) |
| CIE-LAB | lab(65.31, 70.20, -44.19) |
| CIE-LCH | lch(65.31, 82.95, 327.81°) |
| OKLab | oklab(73.05% 0.1962 -0.1217) |
| OKLCH | oklch(73.05% 0.231 328.2) |
| XYZ | xyz(56.6062, 34.4391, 85.3105) |
| Luminance | 0.3444 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.55
Violet Pink
#FB5FFC
ΔE00 2.05
Candy Pink
#FF63E9
ΔE00 2.75
Purply Pink
#F075E6
ΔE00 3.16
Orchid
#DA70D6
ΔE00 4.62
Violet (CSS)
#EE82EE
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F166EF #66F168
analogous
#AD66F1 #F166EF #F166AA
triadic
#F166EF #EFF166 #66EFF1
tetradic
#F166EF #F1AD66 #66F168 #66AAF1
square
#F166EF #F1AD66 #66F168 #66AAF1
split-complementary
#F166EF #AAF166 #66F1AD
monochromatic
#CA12C7 #EC2EE9 #F166EF #F69EF5 #FBD6FB
Accessibility & contrast
On white
2.66
#F166EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#F166EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F166EF
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F166EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F166EF | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#87A5EB
Tritanopia (blue-blind)
#F876A1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f166ef; /* rgb */ color: rgb(241, 102, 239); /* oklch */ color: oklch(73.1% 0.231 328.2);
Tailwind
colors: {
custom: {
50: '#f999f4',
500: '#f166ef',
950: '#000000',
},
}SCSS
$custom: #f166ef; $custom-light: #f999f4; $custom-dark: #000000;
JSON
{
"hex": "#f166ef",
"rgb": {
"r": 241,
"g": 102,
"b": 239
},
"hsl": {
"h": 300.863,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.73054,
"c": 0.23085,
"h": 328.2
},
"luminance": 0.34436
}Semantic roles & 50–950 ramp
primary
#F166EF
secondary
#C3EFC4
accent
#E00906
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85