#B786CC#B786CC
#B786CC is a light, moderate purple. Relative luminance 0.315; OKLCH L 69.3% C 0.113 H 315.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B786CC |
|---|---|
| RGB | rgb(183, 134, 204) |
| HSL | hsl(282, 41%, 66%) |
| HSV | hsv(282, 34%, 80%) |
| CMYK | cmyk(10.3%, 34.3%, 0%, 20%) |
| CIE-LAB | lab(62.91, 31.26, -28.95) |
| CIE-LCH | lch(62.91, 42.61, 317.20°) |
| OKLab | oklab(69.27% 0.0805 -0.0794) |
| OKLCH | oklch(69.27% 0.113 315.4) |
| XYZ | xyz(38.9509, 31.4779, 61.1390) |
| Luminance | 0.3148 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.04
Wisteria
#A87DC2
ΔE00 3.69
Orchid (survey)
#C875C4
ΔE00 6.10
Lavender Pink
#DD85D7
ΔE00 7.25
Soft Purple
#A66FB5
ΔE00 7.31
Lavender
#B39DDB
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786CC #9BCC86
analogous
#9486CC #B786CC #CC86BE
triadic
#B786CC #CCB786 #86CCB7
tetradic
#B786CC #CC9486 #9BCC86 #86BECC
square
#B786CC #CC9486 #9BCC86 #86BECC
split-complementary
#B786CC #BECC86 #86CC94
monochromatic
#7D4098 #9D5BBA #B786CC #D1B1DE #EADCF0
Accessibility & contrast
On white
2.88
#B786CC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#B786CC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786CC
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786CC | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 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)
#7B95CF
Deuteranopia (green-blind)
#879ACA
Tritanopia (blue-blind)
#B68FA0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b786cc; /* rgb */ color: rgb(183, 134, 204); /* oklch */ color: oklch(69.3% 0.113 315.4);
Tailwind
colors: {
custom: {
50: '#cdaadb',
500: '#b786cc',
950: '#000000',
},
}SCSS
$custom: #b786cc; $custom-light: #cdaadb; $custom-dark: #000000;
JSON
{
"hex": "#b786cc",
"rgb": {
"r": 183,
"g": 134,
"b": 204
},
"hsl": {
"h": 282,
"s": 40.698,
"l": 66.275
},
"oklch": {
"l": 0.6927,
"c": 0.11309,
"h": 315.4
},
"luminance": 0.31477
}Semantic roles & 50–950 ramp
primary
#B786CC
secondary
#D2E2CB
accent
#B43259
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83