#F266E8#F266E8
#F266E8 is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.8% C 0.226 H 330.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #F266E8 |
|---|---|
| RGB | rgb(242, 102, 232) |
| HSL | hsl(304, 84%, 67%) |
| HSV | hsv(304, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 4.1%, 5.1%) |
| CIE-LAB | lab(65.13, 69.31, -40.58) |
| CIE-LCH | lch(65.13, 80.32, 329.65°) |
| OKLab | oklab(72.85% 0.1965 -0.1113) |
| OKLCH | oklch(72.85% 0.226 330.5) |
| XYZ | xyz(55.9345, 34.2100, 79.9854) |
| Luminance | 0.3421 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.02
Light Magenta
#FA5FF7
ΔE00 2.30
Purply Pink
#F075E6
ΔE00 2.62
Violet Pink
#FB5FFC
ΔE00 2.93
Orchid
#DA70D6
ΔE00 4.13
Violet (CSS)
#EE82EE
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266E8 #66F270
analogous
#B666F2 #F266E8 #F266A2
triadic
#F266E8 #E8F266 #66E8F2
tetradic
#F266E8 #F2B666 #66F270 #66A2F2
square
#F266E8 #F2B666 #66F270 #66A2F2
split-complementary
#F266E8 #A2F266 #66F2B6
monochromatic
#CC11BF #ED2EE0 #F266E8 #F79EF0 #FCD7F9
Accessibility & contrast
On white
2.68
#F266E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#F266E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266E8
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266E8 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D92EC
Deuteranopia (green-blind)
#8BA5E4
Tritanopia (blue-blind)
#FB749E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f266e8; /* rgb */ color: rgb(242, 102, 232); /* oklch */ color: oklch(72.8% 0.226 330.5);
Tailwind
colors: {
custom: {
50: '#f999ef',
500: '#f266e8',
950: '#000000',
},
}SCSS
$custom: #f266e8; $custom-light: #f999ef; $custom-dark: #000000;
JSON
{
"hex": "#f266e8",
"rgb": {
"r": 242,
"g": 102,
"b": 232
},
"hsl": {
"h": 304.286,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.72846,
"c": 0.22582,
"h": 330.5
},
"luminance": 0.34206
}Semantic roles & 50–950 ramp
primary
#F266E8
secondary
#C4F0C7
accent
#E11405
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84