#B787EB#B787EB
#B787EB is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.9% C 0.149 H 305.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B787EB |
|---|---|
| RGB | rgb(183, 135, 235) |
| HSL | hsl(269, 71%, 73%) |
| HSV | hsv(269, 43%, 92%) |
| CMYK | cmyk(22.1%, 42.6%, 0%, 7.8%) |
| CIE-LAB | lab(64.48, 37.50, -43.76) |
| CIE-LCH | lch(64.48, 57.63, 310.59°) |
| OKLab | oklab(70.9% 0.0855 -0.1219) |
| OKLCH | oklch(70.9% 0.149 305) |
| XYZ | xyz(43.1847, 33.3936, 82.7517) |
| Luminance | 0.3339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.32
Light Purple
#BF77F6
ΔE00 4.60
Baby Purple
#CA9BF7
ΔE00 5.69
Pale Purple
#B790D4
ΔE00 5.85
Easter Purple
#C071FE
ΔE00 6.21
Light Urple
#B36FF6
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B787EB #BBEB87
analogous
#8789EB #B787EB #E987EB
triadic
#B787EB #EBB787 #87EBB7
tetradic
#B787EB #EB8789 #BBEB87 #87EBE9
square
#B787EB #EB8789 #BBEB87 #87EBE9
split-complementary
#B787EB #EBE987 #89EB87
monochromatic
#7823D4 #9853E2 #B787EB #D6BBF4 #EFE5FB
Accessibility & contrast
On white
2.73
#B787EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#B787EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B787EB
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B787EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B787EB | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#7A9DE8
Tritanopia (blue-blind)
#AF97AE
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b787eb; /* rgb */ color: rgb(183, 135, 235); /* oklch */ color: oklch(70.9% 0.149 305.0);
Tailwind
colors: {
custom: {
50: '#ceabf2',
500: '#b787eb',
950: '#000000',
},
}SCSS
$custom: #b787eb; $custom-light: #ceabf2; $custom-dark: #000000;
JSON
{
"hex": "#b787eb",
"rgb": {
"r": 183,
"g": 135,
"b": 235
},
"hsl": {
"h": 268.8,
"s": 71.429,
"l": 72.549
},
"oklch": {
"l": 0.70897,
"c": 0.14894,
"h": 305
},
"luminance": 0.33393
}Semantic roles & 50–950 ramp
primary
#B787EB
secondary
#E6F2D9
accent
#D31277
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85