#F266E6#F266E6
#F266E6 is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.8% C 0.224 H 331.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F266E6 |
|---|---|
| RGB | rgb(242, 102, 230) |
| HSL | hsl(305, 84%, 67%) |
| HSV | hsv(305, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 5%, 5.1%) |
| CIE-LAB | lab(65.04, 68.99, -39.61) |
| CIE-LCH | lch(65.04, 79.55, 330.14°) |
| OKLab | oklab(72.75% 0.1963 -0.1085) |
| OKLCH | oklch(72.75% 0.224 331.1) |
| XYZ | xyz(55.6520, 34.0970, 78.4978) |
| Luminance | 0.3409 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 1.94
Purply Pink
#F075E6
ΔE00 2.56
Light Magenta
#FA5FF7
ΔE00 2.58
Violet Pink
#FB5FFC
ΔE00 3.22
Orchid
#DA70D6
ΔE00 4.01
Violet (CSS)
#EE82EE
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266E6 #66F272
analogous
#B866F2 #F266E6 #F266A0
triadic
#F266E6 #E6F266 #66E6F2
tetradic
#F266E6 #F2B866 #66F272 #66A0F2
square
#F266E6 #F2B866 #66F272 #66A0F2
split-complementary
#F266E6 #A0F266 #66F2B8
monochromatic
#CC11BC #ED2EDD #F266E6 #F79EEF #FCD7F8
Accessibility & contrast
On white
2.69
#F266E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#F266E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266E6
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266E6 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E91EA
Deuteranopia (green-blind)
#8BA5E2
Tritanopia (blue-blind)
#FB739D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f266e6; /* rgb */ color: rgb(242, 102, 230); /* oklch */ color: oklch(72.8% 0.224 331.1);
Tailwind
colors: {
custom: {
50: '#f999ee',
500: '#f266e6',
950: '#000000',
},
}SCSS
$custom: #f266e6; $custom-light: #f999ee; $custom-dark: #000000;
JSON
{
"hex": "#f266e6",
"rgb": {
"r": 242,
"g": 102,
"b": 230
},
"hsl": {
"h": 305.143,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.72752,
"c": 0.22425,
"h": 331.1
},
"luminance": 0.34093
}Semantic roles & 50–950 ramp
primary
#F266E6
secondary
#C4F0C8
accent
#E11805
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84