#F266F1#F266F1
#F266F1 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 73.3% C 0.233 H 327.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #F266F1 |
|---|---|
| RGB | rgb(242, 102, 241) |
| HSL | hsl(300, 84%, 67%) |
| HSV | hsv(300, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 0.4%, 5.1%) |
| CIE-LAB | lab(65.54, 70.78, -44.92) |
| CIE-LCH | lch(65.54, 83.83, 327.60°) |
| OKLab | oklab(73.28% 0.1974 -0.1238) |
| OKLCH | oklch(73.28% 0.233 327.9) |
| XYZ | xyz(57.2457, 34.7345, 86.8913) |
| Luminance | 0.3473 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.35
Violet Pink
#FB5FFC
ΔE00 1.79
Candy Pink
#FF63E9
ΔE00 2.81
Purply Pink
#F075E6
ΔE00 3.27
Orchid
#DA70D6
ΔE00 4.88
Violet (CSS)
#EE82EE
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266F1 #66F267
analogous
#AD66F2 #F266F1 #F266AB
triadic
#F266F1 #F1F266 #66F1F2
tetradic
#F266F1 #F2AD66 #66F267 #66ABF2
square
#F266F1 #F2AD66 #66F267 #66ABF2
split-complementary
#F266F1 #ABF266 #66F2AD
monochromatic
#CC11CB #ED2EEC #F266F1 #F79EF6 #FCD7FB
Accessibility & contrast
On white
2.64
#F266F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#F266F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266F1
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266F1 | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5793F5
Deuteranopia (green-blind)
#86A6ED
Tritanopia (blue-blind)
#F977A2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f266f1; /* rgb */ color: rgb(242, 102, 241); /* oklch */ color: oklch(73.3% 0.233 327.9);
Tailwind
colors: {
custom: {
50: '#f999f6',
500: '#f266f1',
950: '#000000',
},
}SCSS
$custom: #f266f1; $custom-light: #f999f6; $custom-dark: #000000;
JSON
{
"hex": "#f266f1",
"rgb": {
"r": 242,
"g": 102,
"b": 241
},
"hsl": {
"h": 300.429,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.73282,
"c": 0.23302,
"h": 327.9
},
"luminance": 0.34731
}Semantic roles & 50–950 ramp
primary
#F266F1
secondary
#C4F0C4
accent
#E10605
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85