#836FDA#836FDA
#836FDA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.0% C 0.157 H 289.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #836FDA |
|---|---|
| RGB | rgb(131, 111, 218) |
| HSL | hsl(251, 59%, 65%) |
| HSV | hsv(251, 49%, 85%) |
| CMYK | cmyk(39.9%, 49.1%, 0%, 14.5%) |
| CIE-LAB | lab(53.23, 33.09, -52.40) |
| CIE-LCH | lch(53.23, 61.97, 302.27°) |
| OKLab | oklab(61.02% 0.0525 -0.1484) |
| OKLCH | oklch(61.02% 0.157 289.5) |
| XYZ | xyz(27.6959, 21.2553, 68.9595) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.34
Mediumslateblue
#7B68EE
ΔE00 3.87
Purpley
#8756E4
ΔE00 7.23
Dark Periwinkle
#665FD1
ΔE00 7.27
Cornflower
#6A79F7
ΔE00 7.54
Periwinkle (survey)
#8E82FE
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#836FDA #C6DA6F
analogous
#6F91DA #836FDA #B96FDA
triadic
#836FDA #DA836F #6FDA83
tetradic
#836FDA #DA6F91 #C6DA6F #6FDAB9
square
#836FDA #DA6F91 #C6DA6F #6FDAB9
split-complementary
#836FDA #DAB96F #91DA6F
monochromatic
#412AA4 #593ECD #836FDA #ADA0E7 #D7D0F3
Accessibility & contrast
On white
4.00
#836FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#836FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #836FDA
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##836FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##836FDA | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4481DE
Deuteranopia (green-blind)
#457DD8
Tritanopia (blue-blind)
#6B859A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #836fda; /* rgb */ color: rgb(131, 111, 218); /* oklch */ color: oklch(61.0% 0.157 289.5);
Tailwind
colors: {
custom: {
50: '#ab98e6',
500: '#836fda',
950: '#000000',
},
}SCSS
$custom: #836fda; $custom-light: #ab98e6; $custom-dark: #000000;
JSON
{
"hex": "#836fda",
"rgb": {
"r": 131,
"g": 111,
"b": 218
},
"hsl": {
"h": 251.215,
"s": 59.116,
"l": 64.51
},
"oklch": {
"l": 0.61017,
"c": 0.15742,
"h": 289.5
},
"luminance": 0.21256
}Semantic roles & 50–950 ramp
primary
#836FDA
secondary
#DEE5C0
accent
#C71FA7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84