#836CDC#836CDC
#836CDC is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.6% C 0.164 H 290.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #836CDC |
|---|---|
| RGB | rgb(131, 108, 220) |
| HSL | hsl(252, 62%, 64%) |
| HSV | hsv(252, 51%, 86%) |
| CMYK | cmyk(40.5%, 50.9%, 0%, 13.7%) |
| CIE-LAB | lab(52.64, 35.40, -54.47) |
| CIE-LCH | lch(52.64, 64.96, 303.02°) |
| OKLab | oklab(60.61% 0.0564 -0.1545) |
| OKLCH | oklch(60.61% 0.164 290.1) |
| XYZ | xyz(27.6374, 20.7169, 70.2389) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.25
Mediumpurple
#9370DB
ΔE00 3.49
Purpley
#8756E4
ΔE00 6.25
Dark Periwinkle
#665FD1
ΔE00 6.75
Light Indigo
#6D5ACF
ΔE00 7.00
Slate Blue
#6A5ACD
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#836CDC #C5DC6C
analogous
#6C8DDC #836CDC #BB6CDC
triadic
#836CDC #DC836C #6CDC83
tetradic
#836CDC #DC6C8D #C5DC6C #6CDCBB
square
#836CDC #DC6C8D #C5DC6C #6CDCBB
split-complementary
#836CDC #DCBB6C #8DDC6C
monochromatic
#4228A6 #593BD0 #836CDC #AD9DE8 #D6CFF4
Accessibility & contrast
On white
4.08
#836CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#836CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #836CDC
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##836CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##836CDC | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#6A839A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #836cdc; /* rgb */ color: rgb(131, 108, 220); /* oklch */ color: oklch(60.6% 0.164 290.1);
Tailwind
colors: {
custom: {
50: '#ac96e7',
500: '#836cdc',
950: '#000000',
},
}SCSS
$custom: #836cdc; $custom-light: #ac96e7; $custom-dark: #000000;
JSON
{
"hex": "#836cdc",
"rgb": {
"r": 131,
"g": 108,
"b": 220
},
"hsl": {
"h": 252.321,
"s": 61.538,
"l": 64.314
},
"oklch": {
"l": 0.60614,
"c": 0.16445,
"h": 290.1
},
"luminance": 0.20718
}Semantic roles & 50–950 ramp
primary
#836CDC
secondary
#DDE5BE
accent
#C91CA6
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#100D16
muted
#7F7E84