#B786DB#B786DB
#B786DB is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.0% C 0.131 H 309.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B786DB |
|---|---|
| RGB | rgb(183, 134, 219) |
| HSL | hsl(275, 54%, 69%) |
| HSV | hsv(275, 39%, 86%) |
| CMYK | cmyk(16.4%, 38.8%, 0%, 14.1%) |
| CIE-LAB | lab(63.53, 34.47, -36.36) |
| CIE-LCH | lch(63.53, 50.10, 313.47°) |
| OKLab | oklab(69.95% 0.0839 -0.1006) |
| OKLCH | oklch(69.95% 0.131 309.8) |
| XYZ | xyz(40.8374, 32.2325, 71.0743) |
| Luminance | 0.3223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.69
Wisteria
#A87DC2
ΔE00 4.93
Liliac
#C48EFD
ΔE00 5.60
Light Purple
#BF77F6
ΔE00 6.21
Baby Purple
#CA9BF7
ΔE00 6.42
Lavender (survey)
#C79FEF
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786DB #AADB86
analogous
#8D86DB #B786DB #DB86D5
triadic
#B786DB #DBB786 #86DBB7
tetradic
#B786DB #DB8D86 #AADB86 #86D5DB
square
#B786DB #DB8D86 #AADB86 #86D5DB
split-complementary
#B786DB #D5DB86 #86DB8D
monochromatic
#7D35B2 #9B57CD #B786DB #D3B5E9 #EFE4F7
Accessibility & contrast
On white
2.82
#B786DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#B786DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786DB
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786DB | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#809BD9
Tritanopia (blue-blind)
#B392A6
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b786db; /* rgb */ color: rgb(183, 134, 219); /* oklch */ color: oklch(70.0% 0.131 309.8);
Tailwind
colors: {
custom: {
50: '#ceaae6',
500: '#b786db',
950: '#000000',
},
}SCSS
$custom: #b786db; $custom-light: #ceaae6; $custom-dark: #000000;
JSON
{
"hex": "#b786db",
"rgb": {
"r": 183,
"g": 134,
"b": 219
},
"hsl": {
"h": 274.588,
"s": 54.14,
"l": 69.216
},
"oklch": {
"l": 0.6995,
"c": 0.13101,
"h": 309.8
},
"luminance": 0.32232
}Semantic roles & 50–950 ramp
primary
#B786DB
secondary
#DDEBD2
accent
#C22467
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84