#F26CF7#F26CF7
#F26CF7 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.3% C 0.230 H 326.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #F26CF7 |
|---|---|
| RGB | rgb(242, 108, 247) |
| HSL | hsl(298, 90%, 70%) |
| HSV | hsv(298, 56%, 97%) |
| CMYK | cmyk(2%, 56.3%, 0%, 3.1%) |
| CIE-LAB | lab(66.76, 69.22, -46.31) |
| CIE-LCH | lch(66.76, 83.28, 326.22°) |
| OKLab | oklab(74.27% 0.1907 -0.1278) |
| OKLCH | oklch(74.27% 0.23 326.2) |
| XYZ | xyz(58.7678, 36.3212, 91.8929) |
| Luminance | 0.3632 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.91
Violet Pink
#FB5FFC
ΔE00 1.93
Purply Pink
#F075E6
ΔE00 3.27
Candy Pink
#FF63E9
ΔE00 3.48
Violet (CSS)
#EE82EE
ΔE00 4.33
Orchid
#DA70D6
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F26CF7 #71F76C
analogous
#AD6CF7 #F26CF7 #F76CB6
triadic
#F26CF7 #F7F26C #6CF7F2
tetradic
#F26CF7 #F7AD6C #71F76C #6CB6F7
square
#F26CF7 #F7AD6C #71F76C #6CB6F7
split-complementary
#F26CF7 #B6F76C #6CF7AD
monochromatic
#D50CDD #ED32F4 #F26CF7 #F7A6FA #FCE0FD
Accessibility & contrast
On white
2.54
#F26CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#F26CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F26CF7
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F26CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F26CF7 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A98FB
Deuteranopia (green-blind)
#87A8F3
Tritanopia (blue-blind)
#F87EA8
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f26cf7; /* rgb */ color: rgb(242, 108, 247); /* oklch */ color: oklch(74.3% 0.230 326.2);
Tailwind
colors: {
custom: {
50: '#f99dfa',
500: '#f26cf7',
950: '#000000',
},
}SCSS
$custom: #f26cf7; $custom-light: #f99dfa; $custom-dark: #000000;
JSON
{
"hex": "#f26cf7",
"rgb": {
"r": 242,
"g": 108,
"b": 247
},
"hsl": {
"h": 297.842,
"s": 89.677,
"l": 69.608
},
"oklch": {
"l": 0.74266,
"c": 0.22961,
"h": 326.2
},
"luminance": 0.36318
}Semantic roles & 50–950 ramp
primary
#F26CF7
secondary
#CDF3CC
accent
#E60008
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85