#B786ED#B786ED
#B786ED is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.153 H 304.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B786ED |
|---|---|
| RGB | rgb(183, 134, 237) |
| HSL | hsl(269, 74%, 73%) |
| HSV | hsv(269, 43%, 93%) |
| CMYK | cmyk(22.8%, 43.5%, 0%, 7.1%) |
| CIE-LAB | lab(64.35, 38.51, -45.07) |
| CIE-LCH | lch(64.35, 59.28, 310.51°) |
| OKLab | oklab(70.83% 0.0872 -0.1257) |
| OKLCH | oklch(70.83% 0.153 304.7) |
| XYZ | xyz(43.3364, 33.2321, 84.2357) |
| Luminance | 0.3323 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.25
Light Purple
#BF77F6
ΔE00 4.23
Easter Purple
#C071FE
ΔE00 5.80
Baby Purple
#CA9BF7
ΔE00 5.93
Light Urple
#B36FF6
ΔE00 6.09
Pale Purple
#B790D4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786ED #BCED86
analogous
#8688ED #B786ED #EB86ED
triadic
#B786ED #EDB786 #86EDB7
tetradic
#B786ED #ED8688 #BCED86 #86EDEB
square
#B786ED #ED8688 #BCED86 #86EDEB
split-complementary
#B786ED #EDEB86 #88ED86
monochromatic
#7820D8 #9751E5 #B786ED #D7BBF5 #EFE4FB
Accessibility & contrast
On white
2.75
#B786ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#B786ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786ED
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786ED | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9BF1
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#AE97AE
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b786ed; /* rgb */ color: rgb(183, 134, 237); /* oklch */ color: oklch(70.8% 0.153 304.7);
Tailwind
colors: {
custom: {
50: '#ceaaf3',
500: '#b786ed',
950: '#000000',
},
}SCSS
$custom: #b786ed; $custom-light: #ceaaf3; $custom-dark: #000000;
JSON
{
"hex": "#b786ed",
"rgb": {
"r": 183,
"g": 134,
"b": 237
},
"hsl": {
"h": 268.544,
"s": 74.101,
"l": 72.745
},
"oklch": {
"l": 0.70829,
"c": 0.15302,
"h": 304.7
},
"luminance": 0.33232
}Semantic roles & 50–950 ramp
primary
#B786ED
secondary
#E6F3D8
accent
#D60F78
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85