#B786CE#B786CE
#B786CE is a light, moderate purple. Relative luminance 0.316; OKLCH L 69.4% C 0.115 H 314.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B786CE |
|---|---|
| RGB | rgb(183, 134, 206) |
| HSL | hsl(281, 42%, 67%) |
| HSV | hsv(281, 35%, 81%) |
| CMYK | cmyk(11.2%, 35%, 0%, 19.2%) |
| CIE-LAB | lab(62.99, 31.68, -29.95) |
| CIE-LCH | lch(62.99, 43.60, 316.61°) |
| OKLab | oklab(69.36% 0.081 -0.0822) |
| OKLCH | oklch(69.36% 0.115 314.6) |
| XYZ | xyz(39.1924, 31.5745, 62.4104) |
| Luminance | 0.3157 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.94
Wisteria
#A87DC2
ΔE00 3.72
Orchid (survey)
#C875C4
ΔE00 6.24
Lavender Pink
#DD85D7
ΔE00 7.31
Lavender
#B39DDB
ΔE00 7.38
Soft Purple
#A66FB5
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786CE #9DCE86
analogous
#9386CE #B786CE #CE86C1
triadic
#B786CE #CEB786 #86CEB7
tetradic
#B786CE #CE9386 #9DCE86 #86C1CE
square
#B786CE #CE9386 #9DCE86 #86C1CE
split-complementary
#B786CE #C1CE86 #86CE93
monochromatic
#7D3F9B #9D5ABC #B786CE #D1B2E0 #EBDDF1
Accessibility & contrast
On white
2.87
#B786CE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#B786CE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786CE
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786CE | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B96D1
Deuteranopia (green-blind)
#869ACC
Tritanopia (blue-blind)
#B68FA1
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b786ce; /* rgb */ color: rgb(183, 134, 206); /* oklch */ color: oklch(69.4% 0.115 314.6);
Tailwind
colors: {
custom: {
50: '#cdaadd',
500: '#b786ce',
950: '#000000',
},
}SCSS
$custom: #b786ce; $custom-light: #cdaadd; $custom-dark: #000000;
JSON
{
"hex": "#b786ce",
"rgb": {
"r": 183,
"g": 134,
"b": 206
},
"hsl": {
"h": 280.833,
"s": 42.353,
"l": 66.667
},
"oklch": {
"l": 0.69358,
"c": 0.11545,
"h": 314.6
},
"luminance": 0.31574
}Semantic roles & 50–950 ramp
primary
#B786CE
secondary
#D4E3CC
accent
#B5305B
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83