#C26AFE#C26AFE
#C26AFE is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.7% C 0.218 H 309.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C26AFE |
|---|---|
| RGB | rgb(194, 106, 254) |
| HSL | hsl(276, 99%, 71%) |
| HSV | hsv(276, 58%, 100%) |
| CMYK | cmyk(23.6%, 58.3%, 0%, 0.4%) |
| CIE-LAB | lab(60.72, 59.82, -60.13) |
| CIE-LCH | lch(60.72, 84.82, 314.86°) |
| OKLab | oklab(68.7% 0.1382 -0.1693) |
| OKLCH | oklch(68.7% 0.218 309.2) |
| XYZ | xyz(45.2881, 28.9339, 96.9458) |
| Luminance | 0.2893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.46
Bright Lavender
#C760FF
ΔE00 1.90
Bright Lilac
#C95EFB
ΔE00 2.46
Light Urple
#B36FF6
ΔE00 2.67
Light Purple
#BF77F6
ΔE00 2.96
Heliotrope
#D94FF5
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C26AFE #A6FE6A
analogous
#786AFE #C26AFE #FE6AF0
triadic
#C26AFE #FEC26A #6AFEC2
tetradic
#C26AFE #FE786A #A6FE6A #6AF0FE
square
#C26AFE #FE786A #A6FE6A #6AF0FE
split-complementary
#C26AFE #F0FE6A #6AFE78
monochromatic
#8D02EC #A92DFE #C26AFE #DBA7FE #F3E1FF
Accessibility & contrast
On white
3.09
#C26AFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#C26AFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C26AFE
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C26AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C26AFE | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#318FFF
Deuteranopia (green-blind)
#5794FA
Tritanopia (blue-blind)
#BA86AA
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c26afe; /* rgb */ color: rgb(194, 106, 254); /* oklch */ color: oklch(68.7% 0.218 309.2);
Tailwind
colors: {
custom: {
50: '#d898ff',
500: '#c26afe',
950: '#000000',
},
}SCSS
$custom: #c26afe; $custom-light: #d898ff; $custom-dark: #000000;
JSON
{
"hex": "#c26afe",
"rgb": {
"r": 194,
"g": 106,
"b": 254
},
"hsl": {
"h": 275.676,
"s": 98.667,
"l": 70.588
},
"oklch": {
"l": 0.68696,
"c": 0.21849,
"h": 309.2
},
"luminance": 0.28933
}Semantic roles & 50–950 ramp
primary
#C26AFE
secondary
#DEF6CE
accent
#E6005D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86