#F266EF#F266EF
#F266EF is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 73.2% C 0.231 H 328.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F266EF |
|---|---|
| RGB | rgb(242, 102, 239) |
| HSL | hsl(301, 84%, 67%) |
| HSV | hsv(301, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 1.2%, 5.1%) |
| CIE-LAB | lab(65.45, 70.45, -43.96) |
| CIE-LCH | lch(65.45, 83.04, 328.03°) |
| OKLab | oklab(73.18% 0.1972 -0.121) |
| OKLCH | oklch(73.18% 0.231 328.5) |
| XYZ | xyz(56.9486, 34.6157, 85.3266) |
| Luminance | 0.3461 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.49
Violet Pink
#FB5FFC
ΔE00 2.01
Candy Pink
#FF63E9
ΔE00 2.59
Purply Pink
#F075E6
ΔE00 3.08
Orchid
#DA70D6
ΔE00 4.69
Violet (CSS)
#EE82EE
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266EF #66F269
analogous
#AF66F2 #F266EF #F266A9
triadic
#F266EF #EFF266 #66EFF2
tetradic
#F266EF #F2AF66 #66F269 #66A9F2
square
#F266EF #F2AF66 #66F269 #66A9F2
split-complementary
#F266EF #A9F266 #66F2AF
monochromatic
#CC11C8 #ED2EE9 #F266EF #F79EF5 #FCD7FB
Accessibility & contrast
On white
2.65
#F266EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#F266EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266EF
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266EF | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#87A6EB
Tritanopia (blue-blind)
#F976A1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f266ef; /* rgb */ color: rgb(242, 102, 239); /* oklch */ color: oklch(73.2% 0.231 328.5);
Tailwind
colors: {
custom: {
50: '#f999f4',
500: '#f266ef',
950: '#000000',
},
}SCSS
$custom: #f266ef; $custom-light: #f999f4; $custom-dark: #000000;
JSON
{
"hex": "#f266ef",
"rgb": {
"r": 242,
"g": 102,
"b": 239
},
"hsl": {
"h": 301.286,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.73184,
"c": 0.2314,
"h": 328.5
},
"luminance": 0.34612
}Semantic roles & 50–950 ramp
primary
#F266EF
secondary
#C4F0C5
accent
#E10905
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85