#B786CF#B786CF
#B786CF is a light, moderate purple. Relative luminance 0.316; OKLCH L 69.4% C 0.117 H 314.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B786CF |
|---|---|
| RGB | rgb(183, 134, 207) |
| HSL | hsl(280, 43%, 67%) |
| HSV | hsv(280, 35%, 81%) |
| CMYK | cmyk(11.6%, 35.3%, 0%, 18.8%) |
| CIE-LAB | lab(63.03, 31.89, -30.44) |
| CIE-LCH | lch(63.03, 44.09, 316.33°) |
| OKLab | oklab(69.4% 0.0813 -0.0836) |
| OKLCH | oklch(69.4% 0.117 314.2) |
| XYZ | xyz(39.3142, 31.6232, 63.0522) |
| Luminance | 0.3162 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.91
Wisteria
#A87DC2
ΔE00 3.75
Orchid (survey)
#C875C4
ΔE00 6.33
Lavender
#B39DDB
ΔE00 7.34
Lavender Pink
#DD85D7
ΔE00 7.35
Soft Purple
#A66FB5
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786CF #9ECF86
analogous
#9386CF #B786CF #CF86C3
triadic
#B786CF #CFB786 #86CFB7
tetradic
#B786CF #CF9386 #9ECF86 #86C3CF
square
#B786CF #CF9386 #9ECF86 #86C3CF
split-complementary
#B786CF #C3CF86 #86CF93
monochromatic
#7D3E9D #9D5ABE #B786CF #D1B2E0 #EBDEF2
Accessibility & contrast
On white
2.87
#B786CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#B786CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786CF
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786CF | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A96D2
Deuteranopia (green-blind)
#869ACD
Tritanopia (blue-blind)
#B590A1
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b786cf; /* rgb */ color: rgb(183, 134, 207); /* oklch */ color: oklch(69.4% 0.117 314.2);
Tailwind
colors: {
custom: {
50: '#cdaade',
500: '#b786cf',
950: '#000000',
},
}SCSS
$custom: #b786cf; $custom-light: #cdaade; $custom-dark: #000000;
JSON
{
"hex": "#b786cf",
"rgb": {
"r": 183,
"g": 134,
"b": 207
},
"hsl": {
"h": 280.274,
"s": 43.195,
"l": 66.863
},
"oklch": {
"l": 0.69402,
"c": 0.11662,
"h": 314.2
},
"luminance": 0.31622
}Semantic roles & 50–950 ramp
primary
#B786CF
secondary
#D4E4CD
accent
#B62F5C
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83