#F166F7#F166F7
#F166F7 is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.5% C 0.237 H 326.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #F166F7 |
|---|---|
| RGB | rgb(241, 102, 247) |
| HSL | hsl(298, 90%, 68%) |
| HSV | hsv(298, 59%, 97%) |
| CMYK | cmyk(2.4%, 58.7%, 0%, 3.1%) |
| CIE-LAB | lab(65.69, 71.54, -48.01) |
| CIE-LCH | lch(65.69, 86.16, 326.13°) |
| OKLab | oklab(73.45% 0.1968 -0.1327) |
| OKLCH | oklch(73.45% 0.237 326) |
| XYZ | xyz(57.8143, 34.9224, 91.6732) |
| Luminance | 0.3492 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.43
Violet Pink
#FB5FFC
ΔE00 1.47
Candy Pink
#FF63E9
ΔE00 3.67
Purply Pink
#F075E6
ΔE00 3.98
Violet (CSS)
#EE82EE
ΔE00 5.32
Orchid
#DA70D6
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F166F7 #6CF766
analogous
#A866F7 #F166F7 #F766B4
triadic
#F166F7 #F7F166 #66F7F1
tetradic
#F166F7 #F7A866 #6CF766 #66B4F7
square
#F166F7 #F7A866 #6CF766 #66B4F7
split-complementary
#F166F7 #B4F766 #66F7A8
monochromatic
#CF0BD7 #EC2CF4 #F166F7 #F6A0FA #FCDAFD
Accessibility & contrast
On white
2.63
#F166F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#F166F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F166F7
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F166F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F166F7 | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5194FB
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#F779A5
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #f166f7; /* rgb */ color: rgb(241, 102, 247); /* oklch */ color: oklch(73.5% 0.237 326.0);
Tailwind
colors: {
custom: {
50: '#f999fa',
500: '#f166f7',
950: '#000000',
},
}SCSS
$custom: #f166f7; $custom-light: #f999fa; $custom-dark: #000000;
JSON
{
"hex": "#f166f7",
"rgb": {
"r": 241,
"g": 102,
"b": 247
},
"hsl": {
"h": 297.517,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.73453,
"c": 0.23742,
"h": 326
},
"luminance": 0.34919
}Semantic roles & 50–950 ramp
primary
#F166F7
secondary
#C8F2C7
accent
#E60009
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85