#836FC2#836FC2
#836FC2 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.6% C 0.125 H 293.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #836FC2 |
|---|---|
| RGB | rgb(131, 111, 194) |
| HSL | hsl(254, 40%, 60%) |
| HSV | hsv(254, 43%, 76%) |
| CMYK | cmyk(32.5%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(51.94, 26.58, -40.78) |
| CIE-LCH | lch(51.94, 48.68, 303.09°) |
| OKLab | oklab(59.63% 0.0494 -0.1145) |
| OKLCH | oklch(59.63% 0.125 293.3) |
| XYZ | xyz(24.7796, 20.0888, 53.6005) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.89
Deep Lilac
#966EBD
ΔE00 5.06
Deep Lavender
#8D5EB7
ΔE00 6.58
Amethyst
#9B5FC0
ΔE00 7.63
Mediumslateblue
#7B68EE
ΔE00 7.69
Dark Periwinkle
#665FD1
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#836FC2 #AEC26F
analogous
#6F84C2 #836FC2 #AD6FC2
triadic
#836FC2 #C2836F #6FC283
tetradic
#836FC2 #C26F84 #AEC26F #6FC2AD
square
#836FC2 #C26F84 #AEC26F #6FC2AD
split-complementary
#836FC2 #C2AD6F #84C26F
monochromatic
#483680 #6049AB #836FC2 #A89AD4 #CDC5E6
Accessibility & contrast
On white
4.19
#836FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#836FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #836FC2
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##836FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##836FC2 | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557DC5
Deuteranopia (green-blind)
#587AC0
Tritanopia (blue-blind)
#757E8F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #836fc2; /* rgb */ color: rgb(131, 111, 194); /* oklch */ color: oklch(59.6% 0.125 293.3);
Tailwind
colors: {
custom: {
50: '#a998d5',
500: '#836fc2',
950: '#000000',
},
}SCSS
$custom: #836fc2; $custom-light: #a998d5; $custom-dark: #000000;
JSON
{
"hex": "#836fc2",
"rgb": {
"r": 131,
"g": 111,
"b": 194
},
"hsl": {
"h": 254.458,
"s": 40.488,
"l": 59.804
},
"oklch": {
"l": 0.59627,
"c": 0.12466,
"h": 293.3
},
"luminance": 0.20089
}Semantic roles & 50–950 ramp
primary
#836FC2
secondary
#CFD6B6
accent
#D057B3
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83