#B787ED#B787ED
#B787ED is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.0% C 0.151 H 304.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B787ED |
|---|---|
| RGB | rgb(183, 135, 237) |
| HSL | hsl(268, 74%, 73%) |
| HSV | hsv(268, 43%, 93%) |
| CMYK | cmyk(22.8%, 43%, 0%, 7.1%) |
| CIE-LAB | lab(64.57, 37.95, -44.72) |
| CIE-LCH | lch(64.57, 58.65, 310.32°) |
| OKLab | oklab(71% 0.0858 -0.1247) |
| OKLCH | oklch(71% 0.151 304.5) |
| XYZ | xyz(43.4753, 33.5098, 84.2820) |
| Luminance | 0.3351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.14
Light Purple
#BF77F6
ΔE00 4.48
Baby Purple
#CA9BF7
ΔE00 5.72
Easter Purple
#C071FE
ΔE00 6.04
Pale Purple
#B790D4
ΔE00 6.17
Light Urple
#B36FF6
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B787ED #BDED87
analogous
#878AED #B787ED #EA87ED
triadic
#B787ED #EDB787 #87EDB7
tetradic
#B787ED #ED878A #BDED87 #87EDEA
square
#B787ED #ED878A #BDED87 #87EDEA
split-complementary
#B787ED #EDEA87 #8AED87
monochromatic
#7721D9 #9752E5 #B787ED #D7BCF5 #EFE4FB
Accessibility & contrast
On white
2.73
#B787ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#B787ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B787ED
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B787ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B787ED | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#789DEA
Tritanopia (blue-blind)
#AE98AF
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b787ed; /* rgb */ color: rgb(183, 135, 237); /* oklch */ color: oklch(71.0% 0.151 304.5);
Tailwind
colors: {
custom: {
50: '#ceabf3',
500: '#b787ed',
950: '#000000',
},
}SCSS
$custom: #b787ed; $custom-light: #ceabf3; $custom-dark: #000000;
JSON
{
"hex": "#b787ed",
"rgb": {
"r": 183,
"g": 135,
"b": 237
},
"hsl": {
"h": 268.235,
"s": 73.913,
"l": 72.941
},
"oklch": {
"l": 0.70997,
"c": 0.15141,
"h": 304.5
},
"luminance": 0.3351
}Semantic roles & 50–950 ramp
primary
#B787ED
secondary
#E6F3D8
accent
#D60F79
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85