#B786CD#B786CD
#B786CD is a light, moderate purple. Relative luminance 0.315; OKLCH L 69.3% C 0.114 H 315.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B786CD |
|---|---|
| RGB | rgb(183, 134, 205) |
| HSL | hsl(281, 42%, 66%) |
| HSV | hsv(281, 35%, 80%) |
| CMYK | cmyk(10.7%, 34.6%, 0%, 19.6%) |
| CIE-LAB | lab(62.95, 31.47, -29.45) |
| CIE-LCH | lch(62.95, 43.10, 316.90°) |
| OKLab | oklab(69.31% 0.0808 -0.0808) |
| OKLCH | oklch(69.31% 0.114 315) |
| XYZ | xyz(39.0713, 31.5260, 61.7727) |
| Luminance | 0.3152 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.98
Wisteria
#A87DC2
ΔE00 3.70
Orchid (survey)
#C875C4
ΔE00 6.17
Lavender Pink
#DD85D7
ΔE00 7.28
Soft Purple
#A66FB5
ΔE00 7.37
Lavender
#B39DDB
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786CD #9CCD86
analogous
#9486CD #B786CD #CD86C0
triadic
#B786CD #CDB786 #86CDB7
tetradic
#B786CD #CD9486 #9CCD86 #86C0CD
square
#B786CD #CD9486 #9CCD86 #86C0CD
split-complementary
#B786CD #C0CD86 #86CD94
monochromatic
#7D3F99 #9D5BBB #B786CD #D1B1DF #EBDDF1
Accessibility & contrast
On white
2.87
#B786CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#B786CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786CD
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786CD | 1.00 | 2.87 | 7.30 | 7.30 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B95D0
Deuteranopia (green-blind)
#869ACB
Tritanopia (blue-blind)
#B68FA0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b786cd; /* rgb */ color: rgb(183, 134, 205); /* oklch */ color: oklch(69.3% 0.114 315.0);
Tailwind
colors: {
custom: {
50: '#cdaadc',
500: '#b786cd',
950: '#000000',
},
}SCSS
$custom: #b786cd; $custom-light: #cdaadc; $custom-dark: #000000;
JSON
{
"hex": "#b786cd",
"rgb": {
"r": 183,
"g": 134,
"b": 205
},
"hsl": {
"h": 281.408,
"s": 41.52,
"l": 66.471
},
"oklch": {
"l": 0.69314,
"c": 0.11427,
"h": 315
},
"luminance": 0.31525
}Semantic roles & 50–950 ramp
primary
#B786CD
secondary
#D3E3CC
accent
#B5315A
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83