#F26AF7#F26AF7
#F26AF7 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 74.0% C 0.232 H 326.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #F26AF7 |
|---|---|
| RGB | rgb(242, 106, 247) |
| HSL | hsl(298, 90%, 69%) |
| HSV | hsv(298, 57%, 97%) |
| CMYK | cmyk(2%, 57.1%, 0%, 3.1%) |
| CIE-LAB | lab(66.45, 70.08, -46.81) |
| CIE-LCH | lch(66.45, 84.28, 326.26°) |
| OKLab | oklab(74.03% 0.1932 -0.1293) |
| OKLCH | oklch(74.03% 0.232 326.2) |
| XYZ | xyz(58.5593, 35.9042, 91.8234) |
| Luminance | 0.3590 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.66
Violet Pink
#FB5FFC
ΔE00 1.70
Candy Pink
#FF63E9
ΔE00 3.47
Purply Pink
#F075E6
ΔE00 3.47
Violet (CSS)
#EE82EE
ΔE00 4.64
Orchid
#DA70D6
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F26AF7 #6FF76A
analogous
#AC6AF7 #F26AF7 #F76AB6
triadic
#F26AF7 #F7F26A #6AF7F2
tetradic
#F26AF7 #F7AC6A #6FF76A #6AB6F7
square
#F26AF7 #F7AC6A #6FF76A #6AB6F7
split-complementary
#F26AF7 #B6F76A #6AF7AC
monochromatic
#D40CDB #ED30F4 #F26AF7 #F7A4FA #FCDEFD
Accessibility & contrast
On white
2.57
#F26AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#F26AF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F26AF7
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F26AF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F26AF7 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5797FB
Deuteranopia (green-blind)
#86A8F3
Tritanopia (blue-blind)
#F87CA7
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f26af7; /* rgb */ color: rgb(242, 106, 247); /* oklch */ color: oklch(74.0% 0.232 326.2);
Tailwind
colors: {
custom: {
50: '#f99bfa',
500: '#f26af7',
950: '#000000',
},
}SCSS
$custom: #f26af7; $custom-light: #f99bfa; $custom-dark: #000000;
JSON
{
"hex": "#f26af7",
"rgb": {
"r": 242,
"g": 106,
"b": 247
},
"hsl": {
"h": 297.872,
"s": 89.809,
"l": 69.216
},
"oklch": {
"l": 0.74034,
"c": 0.23242,
"h": 326.2
},
"luminance": 0.35901
}Semantic roles & 50–950 ramp
primary
#F26AF7
secondary
#CBF3CA
accent
#E60008
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85