#B786DF#B786DF
#B786DF is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.136 H 308.6°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B786DF |
|---|---|
| RGB | rgb(183, 134, 223) |
| HSL | hsl(273, 58%, 70%) |
| HSV | hsv(273, 40%, 87%) |
| CMYK | cmyk(17.9%, 39.9%, 0%, 12.5%) |
| CIE-LAB | lab(63.71, 35.35, -38.32) |
| CIE-LCH | lch(63.71, 52.13, 312.69°) |
| OKLab | oklab(70.14% 0.0847 -0.1062) |
| OKLCH | oklch(70.14% 0.136 308.6) |
| XYZ | xyz(41.3703, 32.4457, 73.8810) |
| Luminance | 0.3245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.22
Liliac
#C48EFD
ΔE00 4.95
Wisteria
#A87DC2
ΔE00 5.50
Light Purple
#BF77F6
ΔE00 5.63
Baby Purple
#CA9BF7
ΔE00 6.15
Lavender (survey)
#C79FEF
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786DF #AEDF86
analogous
#8B86DF #B786DF #DF86DA
triadic
#B786DF #DFB786 #86DFB7
tetradic
#B786DF #DF8B86 #AEDF86 #86DADF
square
#B786DF #DF8B86 #AEDF86 #86DADF
split-complementary
#B786DF #DADF86 #86DF8B
monochromatic
#7C31BA #9A56D2 #B786DF #D4B6EC #F1E7F9
Accessibility & contrast
On white
2.80
#B786DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#B786DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786DF
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786DF | 1.00 | 2.80 | 7.49 | 7.49 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#7F9BDD
Tritanopia (blue-blind)
#B293A8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b786df; /* rgb */ color: rgb(183, 134, 223); /* oklch */ color: oklch(70.1% 0.136 308.6);
Tailwind
colors: {
custom: {
50: '#ceaae9',
500: '#b786df',
950: '#000000',
},
}SCSS
$custom: #b786df; $custom-light: #ceaae9; $custom-dark: #000000;
JSON
{
"hex": "#b786df",
"rgb": {
"r": 183,
"g": 134,
"b": 223
},
"hsl": {
"h": 273.034,
"s": 58.17,
"l": 70
},
"oklch": {
"l": 0.70139,
"c": 0.13587,
"h": 308.6
},
"luminance": 0.32445
}Semantic roles & 50–950 ramp
primary
#B786DF
secondary
#DFEDD4
accent
#C6206A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84