#834FD2#834FD2
#834FD2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.193 H 298.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #834FD2 |
|---|---|
| RGB | rgb(131, 79, 210) |
| HSL | hsl(264, 59%, 57%) |
| HSV | hsv(264, 62%, 82%) |
| CMYK | cmyk(37.6%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(45.73, 49.01, -59.89) |
| CIE-LCH | lch(45.73, 77.38, 309.30°) |
| OKLab | oklab(55.33% 0.0909 -0.1704) |
| OKLCH | oklch(55.33% 0.193 298.1) |
| XYZ | xyz(23.7860, 15.0701, 62.6159) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.42
Light Indigo
#6D5ACF
ΔE00 5.13
Slate Blue
#6A5ACD
ΔE00 5.63
Bluish Purple
#703BE7
ΔE00 6.02
Blueviolet
#8A2BE2
ΔE00 6.34
Darkorchid
#9932CC
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#834FD2 #9ED24F
analogous
#4F5DD2 #834FD2 #C54FD2
triadic
#834FD2 #D2834F #4FD283
tetradic
#834FD2 #D24F5D #9ED24F #4FD2C5
square
#834FD2 #D24F5D #9ED24F #4FD2C5
split-complementary
#834FD2 #D2C54F #5DD24F
monochromatic
#492285 #642EB5 #834FD2 #A580DE #C8B0EB
Accessibility & contrast
On white
5.23
#834FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#834FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #834FD2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##834FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##834FD2 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0C6BCF
Tritanopia (blue-blind)
#716C89
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #834fd2; /* rgb */ color: rgb(131, 79, 210); /* oklch */ color: oklch(55.3% 0.193 298.1);
Tailwind
colors: {
custom: {
50: '#ac83e1',
500: '#834fd2',
950: '#000000',
},
}SCSS
$custom: #834fd2; $custom-light: #ac83e1; $custom-dark: #000000;
JSON
{
"hex": "#834fd2",
"rgb": {
"r": 131,
"g": 79,
"b": 210
},
"hsl": {
"h": 263.817,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.55325,
"c": 0.19314,
"h": 298.1
},
"luminance": 0.1507
}Semantic roles & 50–950 ramp
primary
#834FD2
secondary
#C4D9A4
accent
#E245A4
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83