#836CB5#836CB5
#836CB5 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.4% C 0.111 H 297.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #836CB5 |
|---|---|
| RGB | rgb(131, 108, 181) |
| HSL | hsl(259, 33%, 57%) |
| HSV | hsv(259, 40%, 71%) |
| CMYK | cmyk(27.6%, 40.3%, 0%, 29%) |
| CIE-LAB | lab(50.55, 24.98, -35.47) |
| CIE-LCH | lch(50.55, 43.39, 305.16°) |
| OKLab | oklab(58.37% 0.0512 -0.099) |
| OKLCH | oklch(58.37% 0.111 297.3) |
| XYZ | xyz(23.0612, 18.8864, 46.1376) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.38
Deep Lavender
#8D5EB7
ΔE00 5.34
Amethyst
#9B5FC0
ΔE00 6.95
Mediumpurple
#9370DB
ΔE00 6.95
Dark Lavender
#856798
ΔE00 7.10
Dark Lilac
#9C6DA5
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#836CB5 #9EB56C
analogous
#6C7AB5 #836CB5 #A86CB5
triadic
#836CB5 #B5836C #6CB583
tetradic
#836CB5 #B56C7A #9EB56C #6CB5A8
square
#836CB5 #B56C7A #9EB56C #6CB5A8
split-complementary
#836CB5 #B5A86C #7AB56C
monochromatic
#49386F #644C98 #836CB5 #A595C9 #C8BDDE
Accessibility & contrast
On white
4.40
#836CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#836CB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #836CB5
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##836CB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##836CB5 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5879B8
Deuteranopia (green-blind)
#5C78B3
Tritanopia (blue-blind)
#797988
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #836cb5; /* rgb */ color: rgb(131, 108, 181); /* oklch */ color: oklch(58.4% 0.111 297.3);
Tailwind
colors: {
custom: {
50: '#a996cb',
500: '#836cb5',
950: '#000000',
},
}SCSS
$custom: #836cb5; $custom-light: #a996cb; $custom-dark: #000000;
JSON
{
"hex": "#836cb5",
"rgb": {
"r": 131,
"g": 108,
"b": 181
},
"hsl": {
"h": 258.904,
"s": 33.032,
"l": 56.667
},
"oklch": {
"l": 0.58369,
"c": 0.11147,
"h": 297.3
},
"luminance": 0.18887
}Semantic roles & 50–950 ramp
primary
#836CB5
secondary
#C4CDAF
accent
#C95FA8
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82