#B787DB#B787DB
#B787DB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.1% C 0.129 H 309.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B787DB |
|---|---|
| RGB | rgb(183, 135, 219) |
| HSL | hsl(274, 54%, 69%) |
| HSV | hsv(274, 38%, 86%) |
| CMYK | cmyk(16.4%, 38.4%, 0%, 14.1%) |
| CIE-LAB | lab(63.76, 33.92, -36.01) |
| CIE-LCH | lch(63.76, 49.47, 313.28°) |
| OKLab | oklab(70.12% 0.0825 -0.0996) |
| OKLCH | oklch(70.12% 0.129 309.6) |
| XYZ | xyz(40.9763, 32.5102, 71.1206) |
| Luminance | 0.3251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.44
Wisteria
#A87DC2
ΔE00 5.00
Liliac
#C48EFD
ΔE00 5.58
Baby Purple
#CA9BF7
ΔE00 6.24
Light Purple
#BF77F6
ΔE00 6.43
Lavender (survey)
#C79FEF
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B787DB #ABDB87
analogous
#8D87DB #B787DB #DB87D5
triadic
#B787DB #DBB787 #87DBB7
tetradic
#B787DB #DB8D87 #ABDB87 #87D5DB
square
#B787DB #DB8D87 #ABDB87 #87D5DB
split-complementary
#B787DB #D5DB87 #87DB8D
monochromatic
#7D35B2 #9B58CD #B787DB #D3B6E9 #EFE5F7
Accessibility & contrast
On white
2.80
#B787DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.50
#B787DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B787DB
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B787DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B787DB | 1.00 | 2.80 | 7.50 | 7.50 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#B393A7
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b787db; /* rgb */ color: rgb(183, 135, 219); /* oklch */ color: oklch(70.1% 0.129 309.6);
Tailwind
colors: {
custom: {
50: '#ceaae6',
500: '#b787db',
950: '#000000',
},
}SCSS
$custom: #b787db; $custom-light: #ceaae6; $custom-dark: #000000;
JSON
{
"hex": "#b787db",
"rgb": {
"r": 183,
"g": 135,
"b": 219
},
"hsl": {
"h": 274.286,
"s": 53.846,
"l": 69.412
},
"oklch": {
"l": 0.70122,
"c": 0.12932,
"h": 309.6
},
"luminance": 0.3251
}Semantic roles & 50–950 ramp
primary
#B787DB
secondary
#DDEBD3
accent
#C12468
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84