#C386F6#C386F6
#C386F6 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.5% C 0.167 H 307.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C386F6 |
|---|---|
| RGB | rgb(195, 134, 246) |
| HSL | hsl(273, 86%, 75%) |
| HSV | hsv(273, 46%, 96%) |
| CMYK | cmyk(20.7%, 45.5%, 0%, 3.5%) |
| CIE-LAB | lab(65.99, 43.84, -47.36) |
| CIE-LCH | lch(65.99, 64.54, 312.79°) |
| OKLab | oklab(72.47% 0.1027 -0.1321) |
| OKLCH | oklch(72.47% 0.167 307.9) |
| XYZ | xyz(47.6621, 35.3067, 91.4749) |
| Luminance | 0.3531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.14
Light Purple
#BF77F6
ΔE00 3.67
Easter Purple
#C071FE
ΔE00 5.16
Baby Purple
#CA9BF7
ΔE00 5.38
Light Urple
#B36FF6
ΔE00 6.35
Pastel Purple
#CAA0FF
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C386F6 #B9F686
analogous
#8B86F6 #C386F6 #F686F1
triadic
#C386F6 #F6C386 #86F6C3
tetradic
#C386F6 #F68B86 #B9F686 #86F1F6
square
#C386F6 #F68B86 #B9F686 #86F1F6
split-complementary
#C386F6 #F1F686 #86F68B
monochromatic
#8B14EE #A74DF2 #C386F6 #DFBFFA #F1E3FD
Accessibility & contrast
On white
2.61
#C386F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#C386F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C386F6
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C386F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C386F6 | 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)
#6A9EFA
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#BC98B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c386f6; /* rgb */ color: rgb(195, 134, 246); /* oklch */ color: oklch(72.5% 0.167 307.9);
Tailwind
colors: {
custom: {
50: '#d7aaf9',
500: '#c386f6',
950: '#000000',
},
}SCSS
$custom: #c386f6; $custom-light: #d7aaf9; $custom-dark: #000000;
JSON
{
"hex": "#c386f6",
"rgb": {
"r": 195,
"g": 134,
"b": 246
},
"hsl": {
"h": 272.679,
"s": 86.154,
"l": 74.51
},
"oklch": {
"l": 0.72474,
"c": 0.16736,
"h": 307.9
},
"luminance": 0.35306
}Semantic roles & 50–950 ramp
primary
#C386F6
secondary
#E4F5D6
accent
#E30369
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85