#B786EB#B786EB
#B786EB is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.151 H 305.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B786EB |
|---|---|
| RGB | rgb(183, 134, 235) |
| HSL | hsl(269, 72%, 72%) |
| HSV | hsv(269, 43%, 92%) |
| CMYK | cmyk(22.1%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(64.25, 38.05, -44.11) |
| CIE-LCH | lch(64.25, 58.25, 310.78°) |
| OKLab | oklab(70.73% 0.0869 -0.123) |
| OKLCH | oklch(70.73% 0.151 305.2) |
| XYZ | xyz(43.0458, 33.1159, 82.7054) |
| Luminance | 0.3312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.42
Light Purple
#BF77F6
ΔE00 4.36
Baby Purple
#CA9BF7
ΔE00 5.90
Easter Purple
#C071FE
ΔE00 5.96
Pale Purple
#B790D4
ΔE00 6.02
Light Urple
#B36FF6
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786EB #BAEB86
analogous
#8688EB #B786EB #EA86EB
triadic
#B786EB #EBB786 #86EBB7
tetradic
#B786EB #EB8688 #BAEB86 #86EBEA
square
#B786EB #EB8688 #BAEB86 #86EBEA
split-complementary
#B786EB #EBEA86 #88EB86
monochromatic
#7923D4 #9851E2 #B786EB #D6BBF4 #EFE5FB
Accessibility & contrast
On white
2.75
#B786EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#B786EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786EB
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786EB | 1.00 | 2.75 | 7.62 | 7.62 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#AF97AD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b786eb; /* rgb */ color: rgb(183, 134, 235); /* oklch */ color: oklch(70.7% 0.151 305.2);
Tailwind
colors: {
custom: {
50: '#ceaaf2',
500: '#b786eb',
950: '#000000',
},
}SCSS
$custom: #b786eb; $custom-light: #ceaaf2; $custom-dark: #000000;
JSON
{
"hex": "#b786eb",
"rgb": {
"r": 183,
"g": 134,
"b": 235
},
"hsl": {
"h": 269.109,
"s": 71.631,
"l": 72.353
},
"oklch": {
"l": 0.70728,
"c": 0.15056,
"h": 305.2
},
"luminance": 0.33116
}Semantic roles & 50–950 ramp
primary
#B786EB
secondary
#E6F2D9
accent
#D41276
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85