#F166FB#F166FB
#F166FB is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.7% C 0.241 H 325.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #F166FB |
|---|---|
| RGB | rgb(241, 102, 251) |
| HSL | hsl(296, 95%, 69%) |
| HSV | hsv(296, 59%, 98%) |
| CMYK | cmyk(4%, 59.4%, 0%, 1.6%) |
| CIE-LAB | lab(65.88, 72.22, -49.91) |
| CIE-LCH | lch(65.88, 87.79, 325.36°) |
| OKLab | oklab(73.66% 0.1971 -0.1382) |
| OKLCH | oklch(73.66% 0.241 325) |
| XYZ | xyz(58.4382, 35.1719, 94.9589) |
| Luminance | 0.3517 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 1.51
Light Magenta
#FA5FF7
ΔE00 1.73
Candy Pink
#FF63E9
ΔE00 4.17
Purply Pink
#F075E6
ΔE00 4.45
Violet (CSS)
#EE82EE
ΔE00 5.55
Orchid
#DA70D6
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F166FB #70FB66
analogous
#A766FB #F166FB #FB66BB
triadic
#F166FB #FBF166 #66FBF1
tetradic
#F166FB #FBA766 #70FB66 #66BBFB
square
#F166FB #FBA766 #70FB66 #66BBFB
split-complementary
#F166FB #BBFB66 #66FBA7
monochromatic
#D206E1 #EC2AF9 #F166FB #F6A2FD #FCDDFE
Accessibility & contrast
On white
2.61
#F166FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#F166FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F166FB
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F166FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F166FB | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#F67BA8
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #f166fb; /* rgb */ color: rgb(241, 102, 251); /* oklch */ color: oklch(73.7% 0.241 325.0);
Tailwind
colors: {
custom: {
50: '#f999fd',
500: '#f166fb',
950: '#000000',
},
}SCSS
$custom: #f166fb; $custom-light: #f999fd; $custom-dark: #000000;
JSON
{
"hex": "#f166fb",
"rgb": {
"r": 241,
"g": 102,
"b": 251
},
"hsl": {
"h": 295.973,
"s": 94.904,
"l": 69.216
},
"oklch": {
"l": 0.73658,
"c": 0.24074,
"h": 325
},
"luminance": 0.35169
}Semantic roles & 50–950 ramp
primary
#F166FB
secondary
#CCF4C9
accent
#E6000F
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F18
muted
#867E86