#F266DC#F266DC
#F266DC is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.3% C 0.217 H 334.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F266DC |
|---|---|
| RGB | rgb(242, 102, 220) |
| HSL | hsl(309, 84%, 67%) |
| HSV | hsv(309, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 9.1%, 5.1%) |
| CIE-LAB | lab(64.60, 67.42, -34.71) |
| CIE-LCH | lch(64.60, 75.83, 332.76°) |
| OKLab | oklab(72.29% 0.1949 -0.0945) |
| OKLCH | oklch(72.29% 0.217 334.1) |
| XYZ | xyz(54.2878, 33.5513, 71.3130) |
| Luminance | 0.3355 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.33
Purply Pink
#F075E6
ΔE00 2.88
Orchid
#DA70D6
ΔE00 3.83
Light Magenta
#FA5FF7
ΔE00 4.12
Violet Pink
#FB5FFC
ΔE00 4.79
Violet (CSS)
#EE82EE
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266DC #66F27C
analogous
#C266F2 #F266DC #F26696
triadic
#F266DC #DCF266 #66DCF2
tetradic
#F266DC #F2C266 #66F27C #6696F2
square
#F266DC #F2C266 #66F27C #6696F2
split-complementary
#F266DC #96F266 #66F2C2
monochromatic
#CC11AF #ED2ECF #F266DC #F79EE9 #FCD7F6
Accessibility & contrast
On white
2.72
#F266DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#F266DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266DC
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266DC | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6490E0
Deuteranopia (green-blind)
#90A4D8
Tritanopia (blue-blind)
#FC6F98
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #f266dc; /* rgb */ color: rgb(242, 102, 220); /* oklch */ color: oklch(72.3% 0.217 334.1);
Tailwind
colors: {
custom: {
50: '#f999e7',
500: '#f266dc',
950: '#000000',
},
}SCSS
$custom: #f266dc; $custom-light: #f999e7; $custom-dark: #000000;
JSON
{
"hex": "#f266dc",
"rgb": {
"r": 242,
"g": 102,
"b": 220
},
"hsl": {
"h": 309.429,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.72291,
"c": 0.21659,
"h": 334.1
},
"luminance": 0.33547
}Semantic roles & 50–950 ramp
primary
#F266DC
secondary
#C4F0CB
accent
#E12705
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84