#B786EA#B786EA
#B786EA is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.149 H 305.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B786EA |
|---|---|
| RGB | rgb(183, 134, 234) |
| HSL | hsl(269, 70%, 72%) |
| HSV | hsv(269, 43%, 92%) |
| CMYK | cmyk(21.8%, 42.7%, 0%, 8.2%) |
| CIE-LAB | lab(64.21, 37.82, -43.63) |
| CIE-LCH | lch(64.21, 57.74, 310.92°) |
| OKLab | oklab(70.68% 0.0867 -0.1216) |
| OKLCH | oklch(70.68% 0.149 305.5) |
| XYZ | xyz(42.9018, 33.0582, 81.9467) |
| Luminance | 0.3306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.51
Light Purple
#BF77F6
ΔE00 4.43
Pale Purple
#B790D4
ΔE00 5.86
Baby Purple
#CA9BF7
ΔE00 5.89
Easter Purple
#C071FE
ΔE00 6.06
Light Urple
#B36FF6
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786EA #B9EA86
analogous
#8687EA #B786EA #E986EA
triadic
#B786EA #EAB786 #86EAB7
tetradic
#B786EA #EA8687 #B9EA86 #86EAE9
square
#B786EA #EA8687 #B9EA86 #86EAE9
split-complementary
#B786EA #EAE986 #87EA86
monochromatic
#7924D1 #9852E1 #B786EA #D6BAF3 #EFE5FA
Accessibility & contrast
On white
2.76
#B786EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#B786EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786EA
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786EA | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#AF96AD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b786ea; /* rgb */ color: rgb(183, 134, 234); /* oklch */ color: oklch(70.7% 0.149 305.5);
Tailwind
colors: {
custom: {
50: '#ceaaf1',
500: '#b786ea',
950: '#000000',
},
}SCSS
$custom: #b786ea; $custom-light: #ceaaf1; $custom-dark: #000000;
JSON
{
"hex": "#b786ea",
"rgb": {
"r": 183,
"g": 134,
"b": 234
},
"hsl": {
"h": 269.4,
"s": 70.423,
"l": 72.157
},
"oklch": {
"l": 0.70678,
"c": 0.14933,
"h": 305.5
},
"luminance": 0.33058
}Semantic roles & 50–950 ramp
primary
#B786EA
secondary
#E6F2D9
accent
#D21375
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85