#C286EF#C286EF
#C286EF is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.0% C 0.159 H 309.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C286EF |
|---|---|
| RGB | rgb(194, 134, 239) |
| HSL | hsl(274, 77%, 73%) |
| HSV | hsv(274, 44%, 94%) |
| CMYK | cmyk(18.8%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(65.56, 42.03, -44.20) |
| CIE-LCH | lch(65.56, 60.99, 313.56°) |
| OKLab | oklab(72.02% 0.1005 -0.123) |
| OKLCH | oklch(72.02% 0.159 309.3) |
| XYZ | xyz(46.3503, 34.7522, 85.9107) |
| Luminance | 0.3475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.79
Light Purple
#BF77F6
ΔE00 4.02
Baby Purple
#CA9BF7
ΔE00 5.27
Easter Purple
#C071FE
ΔE00 5.67
Pale Purple
#B790D4
ΔE00 6.36
Pastel Purple
#CAA0FF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C286EF #B3EF86
analogous
#8D86EF #C286EF #EF86E7
triadic
#C286EF #EFC286 #86EFC2
tetradic
#C286EF #EF8D86 #B3EF86 #86E7EF
square
#C286EF #EF8D86 #B3EF86 #86E7EF
split-complementary
#C286EF #E7EF86 #86EF8D
monochromatic
#8B1DDD #A750E8 #C286EF #DDBCF6 #F1E4FB
Accessibility & contrast
On white
2.64
#C286EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#C286EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C286EF
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C286EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C286EF | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#BC96AF
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c286ef; /* rgb */ color: rgb(194, 134, 239); /* oklch */ color: oklch(72.0% 0.159 309.3);
Tailwind
colors: {
custom: {
50: '#d6aaf4',
500: '#c286ef',
950: '#000000',
},
}SCSS
$custom: #c286ef; $custom-light: #d6aaf4; $custom-dark: #000000;
JSON
{
"hex": "#c286ef",
"rgb": {
"r": 194,
"g": 134,
"b": 239
},
"hsl": {
"h": 274.286,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.72021,
"c": 0.15882,
"h": 309.3
},
"luminance": 0.34752
}Semantic roles & 50–950 ramp
primary
#C286EF
secondary
#E4F3D8
accent
#D90D64
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85