#C686EF#C686EF
#C686EF is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.4% C 0.160 H 311.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C686EF |
|---|---|
| RGB | rgb(198, 134, 239) |
| HSL | hsl(277, 77%, 73%) |
| HSV | hsv(277, 44%, 94%) |
| CMYK | cmyk(17.2%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(65.97, 43.15, -43.51) |
| CIE-LCH | lch(65.97, 61.28, 314.76°) |
| OKLab | oklab(72.43% 0.1052 -0.1209) |
| OKLCH | oklch(72.43% 0.16 311) |
| XYZ | xyz(47.3910, 35.2888, 85.9595) |
| Luminance | 0.3529 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.08
Light Purple
#BF77F6
ΔE00 4.28
Baby Purple
#CA9BF7
ΔE00 5.22
Easter Purple
#C071FE
ΔE00 5.90
Pale Purple
#B790D4
ΔE00 6.44
Pastel Purple
#CAA0FF
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C686EF #AFEF86
analogous
#9186EF #C686EF #EF86E4
triadic
#C686EF #EFC686 #86EFC6
tetradic
#C686EF #EF9186 #AFEF86 #86E4EF
square
#C686EF #EF9186 #AFEF86 #86E4EF
split-complementary
#C686EF #E4EF86 #86EF91
monochromatic
#921DDD #AD50E8 #C686EF #DFBCF6 #F2E4FB
Accessibility & contrast
On white
2.61
#C686EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#C686EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C686EF
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C686EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C686EF | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#C296AF
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c686ef; /* rgb */ color: rgb(198, 134, 239); /* oklch */ color: oklch(72.4% 0.160 311.0);
Tailwind
colors: {
custom: {
50: '#d9aaf4',
500: '#c686ef',
950: '#000000',
},
}SCSS
$custom: #c686ef; $custom-light: #d9aaf4; $custom-dark: #000000;
JSON
{
"hex": "#c686ef",
"rgb": {
"r": 198,
"g": 134,
"b": 239
},
"hsl": {
"h": 276.571,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.72428,
"c": 0.16027,
"h": 311
},
"luminance": 0.35288
}Semantic roles & 50–950 ramp
primary
#C686EF
secondary
#E3F3D8
accent
#D90D5C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85