#836CD2#836CD2
#836CD2 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.151 H 291.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #836CD2 |
|---|---|
| RGB | rgb(131, 108, 210) |
| HSL | hsl(254, 53%, 62%) |
| HSV | hsv(254, 49%, 82%) |
| CMYK | cmyk(37.6%, 48.6%, 0%, 17.6%) |
| CIE-LAB | lab(52.07, 32.65, -49.72) |
| CIE-LCH | lch(52.07, 59.48, 303.29°) |
| OKLab | oklab(60% 0.0555 -0.1405) |
| OKLCH | oklch(60% 0.151 291.6) |
| XYZ | xyz(26.3524, 20.2029, 63.4714) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.49
Mediumslateblue
#7B68EE
ΔE00 4.71
Purpley
#8756E4
ΔE00 6.69
Deep Lilac
#966EBD
ΔE00 6.75
Dark Periwinkle
#665FD1
ΔE00 6.75
Light Indigo
#6D5ACF
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#836CD2 #BBD26C
analogous
#6C88D2 #836CD2 #B66CD2
triadic
#836CD2 #D2836C #6CD283
tetradic
#836CD2 #D26C88 #BBD26C #6CD2B6
square
#836CD2 #D26C88 #BBD26C #6CD2B6
split-complementary
#836CD2 #D2B66C #88D26C
monochromatic
#452E96 #5B3DC4 #836CD2 #AB9BE0 #D2CAEF
Accessibility & contrast
On white
4.17
#836CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#836CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #836CD2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##836CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##836CD2 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#6F8095
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #836cd2; /* rgb */ color: rgb(131, 108, 210); /* oklch */ color: oklch(60.0% 0.151 291.6);
Tailwind
colors: {
custom: {
50: '#ab96e0',
500: '#836cd2',
950: '#000000',
},
}SCSS
$custom: #836cd2; $custom-light: #ab96e0; $custom-dark: #000000;
JSON
{
"hex": "#836cd2",
"rgb": {
"r": 131,
"g": 108,
"b": 210
},
"hsl": {
"h": 253.529,
"s": 53.125,
"l": 62.353
},
"oklch": {
"l": 0.60001,
"c": 0.15112,
"h": 291.6
},
"luminance": 0.20204
}Semantic roles & 50–950 ramp
primary
#836CD2
secondary
#D7E0BA
accent
#C1259D
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83