#C386FC#C386FC
#C386FC is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.8% C 0.174 H 306.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #C386FC |
|---|---|
| RGB | rgb(195, 134, 252) |
| HSL | hsl(271, 95%, 76%) |
| HSV | hsv(271, 47%, 99%) |
| CMYK | cmyk(22.6%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(66.28, 45.18, -50.19) |
| CIE-LCH | lch(66.28, 67.53, 311.99°) |
| OKLab | oklab(72.78% 0.1035 -0.1403) |
| OKLCH | oklch(72.78% 0.174 306.4) |
| XYZ | xyz(48.5979, 35.6810, 96.4035) |
| Luminance | 0.3568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.95
Light Purple
#BF77F6
ΔE00 3.62
Easter Purple
#C071FE
ΔE00 4.89
Baby Purple
#CA9BF7
ΔE00 5.68
Light Urple
#B36FF6
ΔE00 6.17
Pastel Purple
#CAA0FF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C386FC #BFFC86
analogous
#8886FC #C386FC #FC86FA
triadic
#C386FC #FCC386 #86FCC3
tetradic
#C386FC #FC8886 #BFFC86 #86FAFC
square
#C386FC #FC8886 #BFFC86 #86FAFC
split-complementary
#C386FC #FAFC86 #86FC88
monochromatic
#880FF9 #A54AFB #C386FC #E1C2FD #F0E1FE
Accessibility & contrast
On white
2.58
#C386FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#C386FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C386FC
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C386FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C386FC | 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)
#679FFF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#BA9AB5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c386fc; /* rgb */ color: rgb(195, 134, 252); /* oklch */ color: oklch(72.8% 0.174 306.4);
Tailwind
colors: {
custom: {
50: '#d7aafe',
500: '#c386fc',
950: '#000000',
},
}SCSS
$custom: #c386fc; $custom-light: #d7aafe; $custom-dark: #000000;
JSON
{
"hex": "#c386fc",
"rgb": {
"r": 195,
"g": 134,
"b": 252
},
"hsl": {
"h": 271.017,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.72784,
"c": 0.1744,
"h": 306.4
},
"luminance": 0.35681
}Semantic roles & 50–950 ramp
primary
#C386FC
secondary
#E5F6D5
accent
#E6006F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86