#834CE2#834CE2
#834CE2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.215 H 295.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #834CE2 |
|---|---|
| RGB | rgb(131, 76, 226) |
| HSL | hsl(262, 72%, 59%) |
| HSV | hsv(262, 66%, 89%) |
| CMYK | cmyk(42%, 66.4%, 0%, 11.4%) |
| CIE-LAB | lab(46.29, 54.69, -68.10) |
| CIE-LCH | lch(46.29, 87.35, 308.77°) |
| OKLab | oklab(56.09% 0.0925 -0.1946) |
| OKLCH | oklch(56.09% 0.215 295.4) |
| XYZ | xyz(25.6683, 15.4846, 73.5732) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.67
Bluish Purple
#703BE7
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 5.67
Blueviolet
#8A2BE2
ΔE00 5.69
Purpleish Blue
#6140EF
ΔE00 5.98
Slate Blue
#6A5ACD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#834CE2 #ABE24C
analogous
#4C60E2 #834CE2 #CE4CE2
triadic
#834CE2 #E2834C #4CE283
tetradic
#834CE2 #E24C60 #ABE24C #4CE2CE
square
#834CE2 #E24C60 #ABE24C #4CE2CE
split-complementary
#834CE2 #E2CE4C #60E24C
monochromatic
#49199B #6122CF #834CE2 #A781EB #CCB5F3
Accessibility & contrast
On white
5.13
#834CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#834CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #834CE2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##834CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##834CE2 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#6A7091
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #834ce2; /* rgb */ color: rgb(131, 76, 226); /* oklch */ color: oklch(56.1% 0.215 295.4);
Tailwind
colors: {
custom: {
50: '#ae81ec',
500: '#834ce2',
950: '#000000',
},
}SCSS
$custom: #834ce2; $custom-light: #ae81ec; $custom-dark: #000000;
JSON
{
"hex": "#834ce2",
"rgb": {
"r": 131,
"g": 76,
"b": 226
},
"hsl": {
"h": 262,
"s": 72.115,
"l": 59.216
},
"oklch": {
"l": 0.56088,
"c": 0.21543,
"h": 295.4
},
"luminance": 0.15485
}Semantic roles & 50–950 ramp
primary
#834CE2
secondary
#CDE2A8
accent
#EF39AC
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84