#F266E5#F266E5
#F266E5 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.7% C 0.223 H 331.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F266E5 |
|---|---|
| RGB | rgb(242, 102, 229) |
| HSL | hsl(306, 84%, 67%) |
| HSV | hsv(306, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 5.4%, 5.1%) |
| CIE-LAB | lab(65.00, 68.83, -39.12) |
| CIE-LCH | lch(65.00, 79.17, 330.38°) |
| OKLab | oklab(72.71% 0.1961 -0.1071) |
| OKLCH | oklch(72.71% 0.223 331.4) |
| XYZ | xyz(55.5120, 34.0410, 77.7603) |
| Luminance | 0.3404 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 1.92
Purply Pink
#F075E6
ΔE00 2.55
Light Magenta
#FA5FF7
ΔE00 2.72
Violet Pink
#FB5FFC
ΔE00 3.37
Orchid
#DA70D6
ΔE00 3.96
Violet (CSS)
#EE82EE
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266E5 #66F273
analogous
#B966F2 #F266E5 #F2669F
triadic
#F266E5 #E5F266 #66E5F2
tetradic
#F266E5 #F2B966 #66F273 #669FF2
square
#F266E5 #F2B966 #66F273 #669FF2
split-complementary
#F266E5 #9FF266 #66F2B9
monochromatic
#CC11BB #ED2EDB #F266E5 #F79EEF #FCD7F8
Accessibility & contrast
On white
2.69
#F266E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#F266E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266E5
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266E5 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F91E9
Deuteranopia (green-blind)
#8CA5E1
Tritanopia (blue-blind)
#FB729C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f266e5; /* rgb */ color: rgb(242, 102, 229); /* oklch */ color: oklch(72.7% 0.223 331.4);
Tailwind
colors: {
custom: {
50: '#f999ed',
500: '#f266e5',
950: '#000000',
},
}SCSS
$custom: #f266e5; $custom-light: #f999ed; $custom-dark: #000000;
JSON
{
"hex": "#f266e5",
"rgb": {
"r": 242,
"g": 102,
"b": 229
},
"hsl": {
"h": 305.571,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.72705,
"c": 0.22348,
"h": 331.4
},
"luminance": 0.34037
}Semantic roles & 50–950 ramp
primary
#F266E5
secondary
#C4F0C8
accent
#E11905
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84