#C686F2#C686F2
#C686F2 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.6% C 0.164 H 310.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C686F2 |
|---|---|
| RGB | rgb(198, 134, 242) |
| HSL | hsl(276, 81%, 74%) |
| HSV | hsv(276, 45%, 95%) |
| CMYK | cmyk(18.2%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(66.11, 43.80, -44.95) |
| CIE-LCH | lch(66.11, 62.76, 314.26°) |
| OKLab | oklab(72.58% 0.1057 -0.125) |
| OKLCH | oklch(72.58% 0.164 310.2) |
| XYZ | xyz(47.8379, 35.4675, 88.3130) |
| Luminance | 0.3547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.71
Light Purple
#BF77F6
ΔE00 4.04
Baby Purple
#CA9BF7
ΔE00 5.22
Easter Purple
#C071FE
ΔE00 5.62
Pastel Purple
#CAA0FF
ΔE00 6.50
Lavender (survey)
#C79FEF
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C686F2 #B2F286
analogous
#9086F2 #C686F2 #F286E8
triadic
#C686F2 #F2C686 #86F2C6
tetradic
#C686F2 #F29086 #B2F286 #86E8F2
square
#C686F2 #F29086 #B2F286 #86E8F2
split-complementary
#C686F2 #E8F286 #86F290
monochromatic
#9219E5 #AC4FEC #C686F2 #E0BDF8 #F2E3FC
Accessibility & contrast
On white
2.59
#C686F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#C686F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C686F2
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C686F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C686F2 | 1.00 | 2.59 | 8.09 | 8.09 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#C197B1
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c686f2; /* rgb */ color: rgb(198, 134, 242); /* oklch */ color: oklch(72.6% 0.164 310.2);
Tailwind
colors: {
custom: {
50: '#d9aaf7',
500: '#c686f2',
950: '#000000',
},
}SCSS
$custom: #c686f2; $custom-light: #d9aaf7; $custom-dark: #000000;
JSON
{
"hex": "#c686f2",
"rgb": {
"r": 198,
"g": 134,
"b": 242
},
"hsl": {
"h": 275.556,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.72577,
"c": 0.16373,
"h": 310.2
},
"luminance": 0.35467
}Semantic roles & 50–950 ramp
primary
#C686F2
secondary
#E3F4D7
accent
#DD095F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85