#B786EF#B786EF
#B786EF is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.9% C 0.155 H 304.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B786EF |
|---|---|
| RGB | rgb(183, 134, 239) |
| HSL | hsl(268, 77%, 73%) |
| HSV | hsv(268, 44%, 94%) |
| CMYK | cmyk(23.4%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(64.44, 38.97, -46.02) |
| CIE-LCH | lch(64.44, 60.30, 310.25°) |
| OKLab | oklab(70.93% 0.0875 -0.1285) |
| OKLCH | oklch(70.93% 0.155 304.3) |
| XYZ | xyz(43.6302, 33.3496, 85.7832) |
| Luminance | 0.3335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.11
Light Purple
#BF77F6
ΔE00 4.13
Easter Purple
#C071FE
ΔE00 5.65
Light Urple
#B36FF6
ΔE00 5.97
Baby Purple
#CA9BF7
ΔE00 5.98
Pale Purple
#B790D4
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786EF #BEEF86
analogous
#8689EF #B786EF #EB86EF
triadic
#B786EF #EFB786 #86EFB7
tetradic
#B786EF #EF8689 #BEEF86 #86EFEB
square
#B786EF #EF8689 #BEEF86 #86EFEB
split-complementary
#B786EF #EFEB86 #89EF86
monochromatic
#771DDD #9750E8 #B786EF #D7BCF6 #EFE4FB
Accessibility & contrast
On white
2.74
#B786EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#B786EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786EF
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786EF | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#AE98AF
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b786ef; /* rgb */ color: rgb(183, 134, 239); /* oklch */ color: oklch(70.9% 0.155 304.3);
Tailwind
colors: {
custom: {
50: '#ceaaf4',
500: '#b786ef',
950: '#000000',
},
}SCSS
$custom: #b786ef; $custom-light: #ceaaf4; $custom-dark: #000000;
JSON
{
"hex": "#b786ef",
"rgb": {
"r": 183,
"g": 134,
"b": 239
},
"hsl": {
"h": 268,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.70931,
"c": 0.15548,
"h": 304.3
},
"luminance": 0.33349
}Semantic roles & 50–950 ramp
primary
#B786EF
secondary
#E6F3D8
accent
#D90D7A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85