#834ED2#834ED2
#834ED2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.194 H 298.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #834ED2 |
|---|---|
| RGB | rgb(131, 78, 210) |
| HSL | hsl(264, 59%, 56%) |
| HSV | hsv(264, 63%, 82%) |
| CMYK | cmyk(37.6%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(45.53, 49.54, -60.20) |
| CIE-LCH | lch(45.53, 77.97, 309.45°) |
| OKLab | oklab(55.18% 0.092 -0.1713) |
| OKLCH | oklch(55.18% 0.194 298.2) |
| XYZ | xyz(23.7144, 14.9269, 62.5921) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.59
Light Indigo
#6D5ACF
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.76
Bluish Purple
#703BE7
ΔE00 5.85
Blueviolet
#8A2BE2
ΔE00 6.11
Darkorchid
#9932CC
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#834ED2 #9DD24E
analogous
#4E5BD2 #834ED2 #C54ED2
triadic
#834ED2 #D2834E #4ED283
tetradic
#834ED2 #D24E5B #9DD24E #4ED2C5
square
#834ED2 #D24E5B #9DD24E #4ED2C5
split-complementary
#834ED2 #D2C54E #5BD24E
monochromatic
#492284 #642EB5 #834ED2 #A57FDE #C7B0EB
Accessibility & contrast
On white
5.27
#834ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#834ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #834ED2
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##834ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##834ED2 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#076ACF
Tritanopia (blue-blind)
#716B89
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #834ed2; /* rgb */ color: rgb(131, 78, 210); /* oklch */ color: oklch(55.2% 0.194 298.2);
Tailwind
colors: {
custom: {
50: '#ac82e1',
500: '#834ed2',
950: '#000000',
},
}SCSS
$custom: #834ed2; $custom-light: #ac82e1; $custom-dark: #000000;
JSON
{
"hex": "#834ed2",
"rgb": {
"r": 131,
"g": 78,
"b": 210
},
"hsl": {
"h": 264.091,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.55183,
"c": 0.19449,
"h": 298.2
},
"luminance": 0.14927
}Semantic roles & 50–950 ramp
primary
#834ED2
secondary
#C3D9A3
accent
#E345A3
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83