#B786DE#B786DE
#B786DE is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.135 H 308.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B786DE |
|---|---|
| RGB | rgb(183, 134, 222) |
| HSL | hsl(273, 57%, 70%) |
| HSV | hsv(273, 40%, 87%) |
| CMYK | cmyk(17.6%, 39.6%, 0%, 12.9%) |
| CIE-LAB | lab(63.67, 35.13, -37.83) |
| CIE-LCH | lch(63.67, 51.62, 312.88°) |
| OKLab | oklab(70.09% 0.0845 -0.1048) |
| OKLCH | oklch(70.09% 0.135 308.9) |
| XYZ | xyz(41.2359, 32.3919, 73.1730) |
| Luminance | 0.3239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.08
Liliac
#C48EFD
ΔE00 5.11
Wisteria
#A87DC2
ΔE00 5.36
Light Purple
#BF77F6
ΔE00 5.77
Baby Purple
#CA9BF7
ΔE00 6.21
Lavender (survey)
#C79FEF
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786DE #ADDE86
analogous
#8B86DE #B786DE #DE86D9
triadic
#B786DE #DEB786 #86DEB7
tetradic
#B786DE #DE8B86 #ADDE86 #86D9DE
square
#B786DE #DE8B86 #ADDE86 #86D9DE
split-complementary
#B786DE #D9DE86 #86DE8B
monochromatic
#7C32B8 #9A56D1 #B786DE #D4B6EB #F0E6F8
Accessibility & contrast
On white
2.81
#B786DE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#B786DE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786DE
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786DE | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7498E1
Deuteranopia (green-blind)
#7F9BDC
Tritanopia (blue-blind)
#B293A8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b786de; /* rgb */ color: rgb(183, 134, 222); /* oklch */ color: oklch(70.1% 0.135 308.9);
Tailwind
colors: {
custom: {
50: '#ceaae8',
500: '#b786de',
950: '#000000',
},
}SCSS
$custom: #b786de; $custom-light: #ceaae8; $custom-dark: #000000;
JSON
{
"hex": "#b786de",
"rgb": {
"r": 183,
"g": 134,
"b": 222
},
"hsl": {
"h": 273.409,
"s": 57.143,
"l": 69.804
},
"oklch": {
"l": 0.70091,
"c": 0.13466,
"h": 308.9
},
"luminance": 0.32391
}Semantic roles & 50–950 ramp
primary
#B786DE
secondary
#DEECD3
accent
#C52169
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84