#B387CD#B387CD
#B387CD is a light, moderate violet. Relative luminance 0.313; OKLCH L 69.1% C 0.111 H 312.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B387CD |
|---|---|
| RGB | rgb(179, 135, 205) |
| HSL | hsl(278, 41%, 67%) |
| HSV | hsv(278, 34%, 80%) |
| CMYK | cmyk(12.7%, 34.1%, 0%, 19.6%) |
| CIE-LAB | lab(62.78, 29.66, -29.75) |
| CIE-LCH | lch(62.78, 42.01, 314.92°) |
| OKLab | oklab(69.09% 0.0746 -0.0817) |
| OKLCH | oklch(69.09% 0.111 312.4) |
| XYZ | xyz(38.2720, 31.3200, 61.7750) |
| Luminance | 0.3132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.55
Wisteria
#A87DC2
ΔE00 3.40
Lavender
#B39DDB
ΔE00 6.79
Orchid (survey)
#C875C4
ΔE00 7.08
Soft Purple
#A66FB5
ΔE00 7.49
Heather
#A484AC
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B387CD #A1CD87
analogous
#9087CD #B387CD #CD87C4
triadic
#B387CD #CDB387 #87CDB3
tetradic
#B387CD #CD9087 #A1CD87 #87C4CD
square
#B387CD #CD9087 #A1CD87 #87C4CD
split-complementary
#B387CD #C4CD87 #87CD90
monochromatic
#78409A #985CBB #B387CD #CEB2DF #EADDF1
Accessibility & contrast
On white
2.89
#B387CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#B387CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B387CD
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B387CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B387CD | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B95D0
Deuteranopia (green-blind)
#8599CB
Tritanopia (blue-blind)
#B190A1
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b387cd; /* rgb */ color: rgb(179, 135, 205); /* oklch */ color: oklch(69.1% 0.111 312.4);
Tailwind
colors: {
custom: {
50: '#caaadc',
500: '#b387cd',
950: '#000000',
},
}SCSS
$custom: #b387cd; $custom-light: #caaadc; $custom-dark: #000000;
JSON
{
"hex": "#b387cd",
"rgb": {
"r": 179,
"g": 135,
"b": 205
},
"hsl": {
"h": 277.714,
"s": 41.176,
"l": 66.667
},
"oklch": {
"l": 0.6909,
"c": 0.11066,
"h": 312.4
},
"luminance": 0.31319
}Semantic roles & 50–950 ramp
primary
#B387CD
secondary
#D5E3CD
accent
#B43162
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83