#F266E7#F266E7
#F266E7 is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.8% C 0.225 H 330.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F266E7 |
|---|---|
| RGB | rgb(242, 102, 231) |
| HSL | hsl(305, 84%, 67%) |
| HSV | hsv(305, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 4.5%, 5.1%) |
| CIE-LAB | lab(65.08, 69.15, -40.10) |
| CIE-LCH | lch(65.08, 79.93, 329.89°) |
| OKLab | oklab(72.8% 0.1964 -0.1099) |
| OKLCH | oklch(72.8% 0.225 330.8) |
| XYZ | xyz(55.7928, 34.1533, 79.2394) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 1.97
Light Magenta
#FA5FF7
ΔE00 2.44
Purply Pink
#F075E6
ΔE00 2.58
Violet Pink
#FB5FFC
ΔE00 3.08
Orchid
#DA70D6
ΔE00 4.07
Violet (CSS)
#EE82EE
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266E7 #66F271
analogous
#B766F2 #F266E7 #F266A1
triadic
#F266E7 #E7F266 #66E7F2
tetradic
#F266E7 #F2B766 #66F271 #66A1F2
square
#F266E7 #F2B766 #66F271 #66A1F2
split-complementary
#F266E7 #A1F266 #66F2B7
monochromatic
#CC11BE #ED2EDE #F266E7 #F79EF0 #FCD7F9
Accessibility & contrast
On white
2.68
#F266E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#F266E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266E7
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266E7 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E92EB
Deuteranopia (green-blind)
#8BA5E3
Tritanopia (blue-blind)
#FB739D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f266e7; /* rgb */ color: rgb(242, 102, 231); /* oklch */ color: oklch(72.8% 0.225 330.8);
Tailwind
colors: {
custom: {
50: '#f999ef',
500: '#f266e7',
950: '#000000',
},
}SCSS
$custom: #f266e7; $custom-light: #f999ef; $custom-dark: #000000;
JSON
{
"hex": "#f266e7",
"rgb": {
"r": 242,
"g": 102,
"b": 231
},
"hsl": {
"h": 304.714,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.72799,
"c": 0.22504,
"h": 330.8
},
"luminance": 0.3415
}Semantic roles & 50–950 ramp
primary
#F266E7
secondary
#C4F0C7
accent
#E11605
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84