#C381EB#C381EB
#C381EB is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.1% C 0.163 H 311.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C381EB |
|---|---|
| RGB | rgb(195, 129, 235) |
| HSL | hsl(277, 73%, 71%) |
| HSV | hsv(277, 45%, 92%) |
| CMYK | cmyk(17%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(64.40, 44.13, -43.79) |
| CIE-LCH | lch(64.40, 62.17, 315.22°) |
| OKLab | oklab(71.12% 0.108 -0.1217) |
| OKLCH | oklch(71.12% 0.163 311.6) |
| XYZ | xyz(45.3487, 33.3016, 82.6201) |
| Luminance | 0.3330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.42
Liliac
#C48EFD
ΔE00 4.11
Easter Purple
#C071FE
ΔE00 5.11
Light Urple
#B36FF6
ΔE00 6.11
Baby Purple
#CA9BF7
ΔE00 6.48
Pale Purple
#B790D4
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C381EB #A9EB81
analogous
#8E81EB #C381EB #EB81DE
triadic
#C381EB #EBC381 #81EBC3
tetradic
#C381EB #EB8E81 #A9EB81 #81DEEB
square
#C381EB #EB8E81 #A9EB81 #81DEEB
split-complementary
#C381EB #DEEB81 #81EB8E
monochromatic
#8E21D1 #AA4CE3 #C381EB #DCB6F3 #F2E5FB
Accessibility & contrast
On white
2.74
#C381EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#C381EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C381EB
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C381EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C381EB | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#BF91AB
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c381eb; /* rgb */ color: rgb(195, 129, 235); /* oklch */ color: oklch(71.1% 0.163 311.6);
Tailwind
colors: {
custom: {
50: '#d7a7f2',
500: '#c381eb',
950: '#000000',
},
}SCSS
$custom: #c381eb; $custom-light: #d7a7f2; $custom-dark: #000000;
JSON
{
"hex": "#c381eb",
"rgb": {
"r": 195,
"g": 129,
"b": 235
},
"hsl": {
"h": 277.358,
"s": 72.603,
"l": 71.373
},
"oklch": {
"l": 0.71123,
"c": 0.16274,
"h": 311.6
},
"luminance": 0.33301
}Semantic roles & 50–950 ramp
primary
#C381EB
secondary
#E1F2D6
accent
#D5115B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85