#F26AFB#F26AFB
#F26AFB is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.2% C 0.236 H 325.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F26AFB |
|---|---|
| RGB | rgb(242, 106, 251) |
| HSL | hsl(296, 95%, 70%) |
| HSV | hsv(296, 58%, 98%) |
| CMYK | cmyk(3.6%, 57.8%, 0%, 1.6%) |
| CIE-LAB | lab(66.64, 70.77, -48.71) |
| CIE-LCH | lch(66.64, 85.91, 325.46°) |
| OKLab | oklab(74.24% 0.1935 -0.1347) |
| OKLCH | oklch(74.24% 0.236 325.1) |
| XYZ | xyz(59.1832, 36.1537, 95.1091) |
| Luminance | 0.3615 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 1.69
Light Magenta
#FA5FF7
ΔE00 1.89
Candy Pink
#FF63E9
ΔE00 3.98
Purply Pink
#F075E6
ΔE00 3.99
Violet (CSS)
#EE82EE
ΔE00 4.90
Orchid
#DA70D6
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F26AFB #73FB6A
analogous
#AA6AFB #F26AFB #FB6ABB
triadic
#F26AFB #FBF26A #6AFBF2
tetradic
#F26AFB #FBAA6A #73FB6A #6ABBFB
square
#F26AFB #FBAA6A #73FB6A #6ABBFB
split-complementary
#F26AFB #BBFB6A #6AFBAA
monochromatic
#D706E4 #ED2EF9 #F26AFB #F7A6FD #FCE1FE
Accessibility & contrast
On white
2.55
#F26AFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#F26AFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F26AFB
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F26AFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F26AFB | 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)
#5497FF
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#F77EA9
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f26afb; /* rgb */ color: rgb(242, 106, 251); /* oklch */ color: oklch(74.2% 0.236 325.1);
Tailwind
colors: {
custom: {
50: '#f99cfd',
500: '#f26afb',
950: '#000000',
},
}SCSS
$custom: #f26afb; $custom-light: #f99cfd; $custom-dark: #000000;
JSON
{
"hex": "#f26afb",
"rgb": {
"r": 242,
"g": 106,
"b": 251
},
"hsl": {
"h": 296.276,
"s": 94.771,
"l": 70
},
"oklch": {
"l": 0.74235,
"c": 0.23578,
"h": 325.1
},
"luminance": 0.3615
}Semantic roles & 50–950 ramp
primary
#F26AFB
secondary
#CFF5CC
accent
#E6000E
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86