#F266F2#F266F2
#F266F2 is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.3% C 0.234 H 327.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #F266F2 |
|---|---|
| RGB | rgb(242, 102, 242) |
| HSL | hsl(300, 84%, 67%) |
| HSV | hsv(300, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(65.59, 70.95, -45.40) |
| CIE-LCH | lch(65.59, 84.23, 327.38°) |
| OKLab | oklab(73.33% 0.1975 -0.1252) |
| OKLCH | oklch(73.33% 0.234 327.6) |
| XYZ | xyz(57.3955, 34.7944, 87.6801) |
| Luminance | 0.3479 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.29
Violet Pink
#FB5FFC
ΔE00 1.69
Candy Pink
#FF63E9
ΔE00 2.92
Purply Pink
#F075E6
ΔE00 3.36
Orchid
#DA70D6
ΔE00 4.98
Violet (CSS)
#EE82EE
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266F2 #66F266
analogous
#AC66F2 #F266F2 #F266AC
triadic
#F266F2 #F2F266 #66F2F2
tetradic
#F266F2 #F2AC66 #66F266 #66ACF2
square
#F266F2 #F2AC66 #66F266 #66ACF2
split-complementary
#F266F2 #ACF266 #66F2AC
monochromatic
#CC11CC #ED2EED #F266F2 #F79EF7 #FCD7FC
Accessibility & contrast
On white
2.64
#F266F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#F266F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266F2
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266F2 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#86A6EE
Tritanopia (blue-blind)
#F977A3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f266f2; /* rgb */ color: rgb(242, 102, 242); /* oklch */ color: oklch(73.3% 0.234 327.6);
Tailwind
colors: {
custom: {
50: '#fa99f7',
500: '#f266f2',
950: '#000000',
},
}SCSS
$custom: #f266f2; $custom-light: #fa99f7; $custom-dark: #000000;
JSON
{
"hex": "#f266f2",
"rgb": {
"r": 242,
"g": 102,
"b": 242
},
"hsl": {
"h": 300,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.73331,
"c": 0.23383,
"h": 327.6
},
"luminance": 0.34791
}Semantic roles & 50–950 ramp
primary
#F266F2
secondary
#C4F0C4
accent
#E10505
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85