#B387CF#B387CF
#B387CF is a light, moderate violet. Relative luminance 0.314; OKLCH L 69.2% C 0.113 H 311.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B387CF |
|---|---|
| RGB | rgb(179, 135, 207) |
| HSL | hsl(277, 43%, 67%) |
| HSV | hsv(277, 35%, 81%) |
| CMYK | cmyk(13.5%, 34.8%, 0%, 18.8%) |
| CIE-LAB | lab(62.86, 30.09, -30.74) |
| CIE-LCH | lch(62.86, 43.02, 314.39°) |
| OKLab | oklab(69.18% 0.0751 -0.0846) |
| OKLCH | oklch(69.18% 0.113 311.6) |
| XYZ | xyz(38.5149, 31.4172, 63.0546) |
| Luminance | 0.3142 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.53
Wisteria
#A87DC2
ΔE00 3.50
Lavender
#B39DDB
ΔE00 6.72
Orchid (survey)
#C875C4
ΔE00 7.23
Lavender (survey)
#C79FEF
ΔE00 7.37
Soft Purple
#A66FB5
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B387CF #A3CF87
analogous
#8F87CF #B387CF #CF87C7
triadic
#B387CF #CFB387 #87CFB3
tetradic
#B387CF #CF8F87 #A3CF87 #87C7CF
square
#B387CF #CF8F87 #A3CF87 #87C7CF
split-complementary
#B387CF #C7CF87 #87CF8F
monochromatic
#783F9D #975BBE #B387CF #CFB3E0 #EADEF2
Accessibility & contrast
On white
2.88
#B387CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#B387CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B387CF
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B387CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B387CF | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A96D2
Deuteranopia (green-blind)
#8499CD
Tritanopia (blue-blind)
#B091A2
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b387cf; /* rgb */ color: rgb(179, 135, 207); /* oklch */ color: oklch(69.2% 0.113 311.6);
Tailwind
colors: {
custom: {
50: '#caaade',
500: '#b387cf',
950: '#000000',
},
}SCSS
$custom: #b387cf; $custom-light: #caaade; $custom-dark: #000000;
JSON
{
"hex": "#b387cf",
"rgb": {
"r": 179,
"g": 135,
"b": 207
},
"hsl": {
"h": 276.667,
"s": 42.857,
"l": 67.059
},
"oklch": {
"l": 0.69179,
"c": 0.1131,
"h": 311.6
},
"luminance": 0.31417
}Semantic roles & 50–950 ramp
primary
#B387CF
secondary
#D6E4CD
accent
#B63064
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83