#B786DC#B786DC
#B786DC is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.0% C 0.132 H 309.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B786DC |
|---|---|
| RGB | rgb(183, 134, 220) |
| HSL | hsl(274, 55%, 69%) |
| HSV | hsv(274, 39%, 86%) |
| CMYK | cmyk(16.8%, 39.1%, 0%, 13.7%) |
| CIE-LAB | lab(63.58, 34.69, -36.85) |
| CIE-LCH | lch(63.58, 50.61, 313.27°) |
| OKLab | oklab(70% 0.0841 -0.102) |
| OKLCH | oklch(70% 0.132 309.5) |
| XYZ | xyz(40.9694, 32.2853, 71.7697) |
| Luminance | 0.3229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.82
Wisteria
#A87DC2
ΔE00 5.07
Liliac
#C48EFD
ΔE00 5.43
Light Purple
#BF77F6
ΔE00 6.06
Baby Purple
#CA9BF7
ΔE00 6.34
Lavender (survey)
#C79FEF
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786DC #ABDC86
analogous
#8C86DC #B786DC #DC86D6
triadic
#B786DC #DCB786 #86DCB7
tetradic
#B786DC #DC8C86 #ABDC86 #86D6DC
square
#B786DC #DC8C86 #ABDC86 #86D6DC
split-complementary
#B786DC #D6DC86 #86DC8C
monochromatic
#7D34B4 #9B57CE #B786DC #D3B5EA #EFE5F7
Accessibility & contrast
On white
2.82
#B786DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#B786DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786DC
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786DC | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#809BDA
Tritanopia (blue-blind)
#B393A7
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b786dc; /* rgb */ color: rgb(183, 134, 220); /* oklch */ color: oklch(70.0% 0.132 309.5);
Tailwind
colors: {
custom: {
50: '#ceaae7',
500: '#b786dc',
950: '#000000',
},
}SCSS
$custom: #b786dc; $custom-light: #ceaae7; $custom-dark: #000000;
JSON
{
"hex": "#b786dc",
"rgb": {
"r": 183,
"g": 134,
"b": 220
},
"hsl": {
"h": 274.186,
"s": 55.128,
"l": 69.412
},
"oklch": {
"l": 0.69997,
"c": 0.13223,
"h": 309.5
},
"luminance": 0.32285
}Semantic roles & 50–950 ramp
primary
#B786DC
secondary
#DDEBD3
accent
#C32368
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84