#C286FE#C286FE
#C286FE is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.8% C 0.176 H 305.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #C286FE |
|---|---|
| RGB | rgb(194, 134, 254) |
| HSL | hsl(270, 98%, 76%) |
| HSV | hsv(270, 47%, 100%) |
| CMYK | cmyk(23.6%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(66.27, 45.37, -51.30) |
| CIE-LCH | lch(66.27, 68.48, 311.49°) |
| OKLab | oklab(72.79% 0.1026 -0.1436) |
| OKLCH | oklch(72.79% 0.176 305.5) |
| XYZ | xyz(48.6589, 35.6756, 98.0694) |
| Luminance | 0.3568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.02
Light Purple
#BF77F6
ΔE00 3.67
Easter Purple
#C071FE
ΔE00 4.83
Baby Purple
#CA9BF7
ΔE00 5.86
Light Urple
#B36FF6
ΔE00 6.08
Pastel Purple
#CAA0FF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C286FE #C2FE86
analogous
#8686FE #C286FE #FE86FE
triadic
#C286FE #FEC286 #86FEC2
tetradic
#C286FE #FE8686 #C2FE86 #86FEFE
square
#C286FE #FE8686 #C2FE86 #86FEFE
split-complementary
#C286FE #FEFE86 #86FE86
monochromatic
#850DFD #A349FD #C286FE #E1C3FF #F0E1FF
Accessibility & contrast
On white
2.58
#C286FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#C286FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C286FE
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C286FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C286FE | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#B89BB6
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c286fe; /* rgb */ color: rgb(194, 134, 254); /* oklch */ color: oklch(72.8% 0.176 305.5);
Tailwind
colors: {
custom: {
50: '#d7aaff',
500: '#c286fe',
950: '#000000',
},
}SCSS
$custom: #c286fe; $custom-light: #d7aaff; $custom-dark: #000000;
JSON
{
"hex": "#c286fe",
"rgb": {
"r": 194,
"g": 134,
"b": 254
},
"hsl": {
"h": 270,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.7279,
"c": 0.17646,
"h": 305.5
},
"luminance": 0.35675
}Semantic roles & 50–950 ramp
primary
#C286FE
secondary
#E6F7D4
accent
#E60073
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86