#F266F7#F266F7
#F266F7 is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.6% C 0.238 H 326.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F266F7 |
|---|---|
| RGB | rgb(242, 102, 247) |
| HSL | hsl(298, 90%, 68%) |
| HSV | hsv(298, 59%, 97%) |
| CMYK | cmyk(2%, 58.7%, 0%, 3.1%) |
| CIE-LAB | lab(65.83, 71.78, -47.79) |
| CIE-LCH | lch(65.83, 86.23, 326.35°) |
| OKLab | oklab(73.58% 0.1979 -0.1321) |
| OKLCH | oklch(73.58% 0.238 326.3) |
| XYZ | xyz(58.1567, 35.0989, 91.6892) |
| Luminance | 0.3509 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.31
Violet Pink
#FB5FFC
ΔE00 1.37
Candy Pink
#FF63E9
ΔE00 3.53
Purply Pink
#F075E6
ΔE00 3.90
Violet (CSS)
#EE82EE
ΔE00 5.25
Orchid
#DA70D6
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266F7 #6BF766
analogous
#A966F7 #F266F7 #F766B3
triadic
#F266F7 #F7F266 #66F7F2
tetradic
#F266F7 #F7A966 #6BF766 #66B3F7
square
#F266F7 #F7A966 #6BF766 #66B3F7
split-complementary
#F266F7 #B3F766 #66F7A9
monochromatic
#D00BD7 #ED2CF4 #F266F7 #F7A0FA #FCDAFD
Accessibility & contrast
On white
2.62
#F266F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#F266F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266F7
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266F7 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5295FB
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#F879A5
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #f266f7; /* rgb */ color: rgb(242, 102, 247); /* oklch */ color: oklch(73.6% 0.238 326.3);
Tailwind
colors: {
custom: {
50: '#fa99fa',
500: '#f266f7',
950: '#000000',
},
}SCSS
$custom: #f266f7; $custom-light: #fa99fa; $custom-dark: #000000;
JSON
{
"hex": "#f266f7",
"rgb": {
"r": 242,
"g": 102,
"b": 247
},
"hsl": {
"h": 297.931,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.73581,
"c": 0.23792,
"h": 326.3
},
"luminance": 0.35095
}Semantic roles & 50–950 ramp
primary
#F266F7
secondary
#C8F2C7
accent
#E60008
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F17
muted
#867E85