#F26CF4#F26CF4
#F26CF4 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.1% C 0.227 H 327.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F26CF4 |
|---|---|
| RGB | rgb(242, 108, 244) |
| HSL | hsl(299, 86%, 69%) |
| HSV | hsv(299, 56%, 96%) |
| CMYK | cmyk(0.8%, 55.7%, 0%, 4.3%) |
| CIE-LAB | lab(66.62, 68.71, -44.87) |
| CIE-LCH | lch(66.62, 82.06, 326.85°) |
| OKLab | oklab(74.12% 0.1905 -0.1237) |
| OKLCH | oklch(74.12% 0.227 327) |
| XYZ | xyz(58.3086, 36.1375, 89.4744) |
| Luminance | 0.3613 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.89
Violet Pink
#FB5FFC
ΔE00 2.07
Purply Pink
#F075E6
ΔE00 2.87
Candy Pink
#FF63E9
ΔE00 3.11
Violet (CSS)
#EE82EE
ΔE00 4.16
Orchid
#DA70D6
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F26CF4 #6EF46C
analogous
#AE6CF4 #F26CF4 #F46CB2
triadic
#F26CF4 #F4F26C #6CF4F2
tetradic
#F26CF4 #F4AE6C #6EF46C #6CB2F4
square
#F26CF4 #F4AE6C #6EF46C #6CB2F4
split-complementary
#F26CF4 #B2F46C #6CF4AE
monochromatic
#D310D6 #ED33F0 #F26CF4 #F7A5F8 #FCDEFD
Accessibility & contrast
On white
2.55
#F26CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#F26CF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F26CF4
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F26CF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F26CF4 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C97F8
Deuteranopia (green-blind)
#89A8F0
Tritanopia (blue-blind)
#F87DA6
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f26cf4; /* rgb */ color: rgb(242, 108, 244); /* oklch */ color: oklch(74.1% 0.227 327.0);
Tailwind
colors: {
custom: {
50: '#f99df8',
500: '#f26cf4',
950: '#000000',
},
}SCSS
$custom: #f26cf4; $custom-light: #f99df8; $custom-dark: #000000;
JSON
{
"hex": "#f26cf4",
"rgb": {
"r": 242,
"g": 108,
"b": 244
},
"hsl": {
"h": 299.118,
"s": 86.076,
"l": 69.02
},
"oklch": {
"l": 0.74119,
"c": 0.2271,
"h": 327
},
"luminance": 0.36134
}Semantic roles & 50–950 ramp
primary
#F26CF4
secondary
#CBF2CA
accent
#E30306
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85