#B387E1#B387E1
#B387E1 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.0% C 0.135 H 305.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B387E1 |
|---|---|
| RGB | rgb(179, 135, 225) |
| HSL | hsl(269, 60%, 71%) |
| HSV | hsv(269, 40%, 88%) |
| CMYK | cmyk(20.4%, 40%, 0%, 11.8%) |
| CIE-LAB | lab(63.63, 34.08, -39.58) |
| CIE-LCH | lch(63.63, 52.23, 310.72°) |
| OKLab | oklab(70.02% 0.079 -0.11) |
| OKLCH | oklch(70.02% 0.135 305.7) |
| XYZ | xyz(40.8422, 32.3481, 75.3117) |
| Luminance | 0.3235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.55
Liliac
#C48EFD
ΔE00 4.77
Light Purple
#BF77F6
ΔE00 5.73
Wisteria
#A87DC2
ΔE00 5.85
Baby Purple
#CA9BF7
ΔE00 6.17
Lavender (survey)
#C79FEF
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B387E1 #B5E187
analogous
#8788E1 #B387E1 #E087E1
triadic
#B387E1 #E1B387 #87E1B3
tetradic
#B387E1 #E18788 #B5E187 #87E1E0
square
#B387E1 #E18788 #B5E187 #87E1E0
split-complementary
#B387E1 #E1E087 #88E187
monochromatic
#7530BE #9456D5 #B387E1 #D2B8ED #EFE7F9
Accessibility & contrast
On white
2.81
#B387E1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#B387E1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B387E1
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B387E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B387E1 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7299E4
Deuteranopia (green-blind)
#7C9ADF
Tritanopia (blue-blind)
#AC95A9
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b387e1; /* rgb */ color: rgb(179, 135, 225); /* oklch */ color: oklch(70.0% 0.135 305.7);
Tailwind
colors: {
custom: {
50: '#cbaaea',
500: '#b387e1',
950: '#000000',
},
}SCSS
$custom: #b387e1; $custom-light: #cbaaea; $custom-dark: #000000;
JSON
{
"hex": "#b387e1",
"rgb": {
"r": 179,
"g": 135,
"b": 225
},
"hsl": {
"h": 269.333,
"s": 60,
"l": 70.588
},
"oklch": {
"l": 0.70016,
"c": 0.13539,
"h": 305.7
},
"luminance": 0.32348
}Semantic roles & 50–950 ramp
primary
#B387E1
secondary
#E2EED6
accent
#C81E75
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84