#B381CE#B381CE
#B381CE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.1% C 0.122 H 313.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B381CE |
|---|---|
| RGB | rgb(179, 129, 206) |
| HSL | hsl(279, 44%, 66%) |
| HSV | hsv(279, 37%, 81%) |
| CMYK | cmyk(13.1%, 37.4%, 0%, 19.2%) |
| CIE-LAB | lab(61.43, 33.23, -32.40) |
| CIE-LCH | lch(61.43, 46.41, 315.73°) |
| OKLab | oklab(68.08% 0.0837 -0.0893) |
| OKLCH | oklch(68.08% 0.122 313.2) |
| XYZ | xyz(37.5794, 29.7411, 62.1415) |
| Luminance | 0.2974 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.74
Pale Purple
#B790D4
ΔE00 4.23
Orchid (survey)
#C875C4
ΔE00 6.16
Soft Purple
#A66FB5
ΔE00 6.32
Light Purple
#BF77F6
ΔE00 7.53
Deep Lilac
#966EBD
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B381CE #9CCE81
analogous
#8C81CE #B381CE #CE81C2
triadic
#B381CE #CEB381 #81CEB3
tetradic
#B381CE #CE8C81 #9CCE81 #81C2CE
square
#B381CE #CE8C81 #9CCE81 #81C2CE
split-complementary
#B381CE #C2CE81 #81CE8C
monochromatic
#783C99 #9855BD #B381CE #CEADDF #E8D9F0
Accessibility & contrast
On white
3.02
#B381CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#B381CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B381CE
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B381CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B381CE | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7492D1
Deuteranopia (green-blind)
#7F96CC
Tritanopia (blue-blind)
#B18B9E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b381ce; /* rgb */ color: rgb(179, 129, 206); /* oklch */ color: oklch(68.1% 0.122 313.2);
Tailwind
colors: {
custom: {
50: '#cba6dd',
500: '#b381ce',
950: '#000000',
},
}SCSS
$custom: #b381ce; $custom-light: #cba6dd; $custom-dark: #000000;
JSON
{
"hex": "#b381ce",
"rgb": {
"r": 179,
"g": 129,
"b": 206
},
"hsl": {
"h": 278.961,
"s": 44,
"l": 65.686
},
"oklch": {
"l": 0.68083,
"c": 0.12237,
"h": 313.2
},
"luminance": 0.2974
}Semantic roles & 50–950 ramp
primary
#B381CE
secondary
#D2E2C9
accent
#B72E5E
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83