#F266F0#F266F0
#F266F0 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 73.2% C 0.232 H 328.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #F266F0 |
|---|---|
| RGB | rgb(242, 102, 240) |
| HSL | hsl(301, 84%, 67%) |
| HSV | hsv(301, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 0.8%, 5.1%) |
| CIE-LAB | lab(65.49, 70.61, -44.44) |
| CIE-LCH | lch(65.49, 83.44, 327.82°) |
| OKLab | oklab(73.23% 0.1973 -0.1224) |
| OKLCH | oklch(73.23% 0.232 328.2) |
| XYZ | xyz(57.0967, 34.6749, 86.1068) |
| Luminance | 0.3467 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.41
Violet Pink
#FB5FFC
ΔE00 1.90
Candy Pink
#FF63E9
ΔE00 2.70
Purply Pink
#F075E6
ΔE00 3.17
Orchid
#DA70D6
ΔE00 4.78
Violet (CSS)
#EE82EE
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266F0 #66F268
analogous
#AE66F2 #F266F0 #F266AA
triadic
#F266F0 #F0F266 #66F0F2
tetradic
#F266F0 #F2AE66 #66F268 #66AAF2
square
#F266F0 #F2AE66 #66F268 #66AAF2
split-complementary
#F266F0 #AAF266 #66F2AE
monochromatic
#CC11CA #ED2EEA #F266F0 #F79EF6 #FCD7FB
Accessibility & contrast
On white
2.65
#F266F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#F266F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266F0
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266F0 | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5893F4
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#F976A2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f266f0; /* rgb */ color: rgb(242, 102, 240); /* oklch */ color: oklch(73.2% 0.232 328.2);
Tailwind
colors: {
custom: {
50: '#f999f5',
500: '#f266f0',
950: '#000000',
},
}SCSS
$custom: #f266f0; $custom-light: #f999f5; $custom-dark: #000000;
JSON
{
"hex": "#f266f0",
"rgb": {
"r": 242,
"g": 102,
"b": 240
},
"hsl": {
"h": 300.857,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.73233,
"c": 0.23221,
"h": 328.2
},
"luminance": 0.34671
}Semantic roles & 50–950 ramp
primary
#F266F0
secondary
#C4F0C5
accent
#E10805
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85