#834FC5#834FC5
#834FC5 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.178 H 301.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #834FC5 |
|---|---|
| RGB | rgb(131, 79, 197) |
| HSL | hsl(266, 50%, 54%) |
| HSV | hsv(266, 60%, 77%) |
| CMYK | cmyk(33.5%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(44.87, 45.70, -53.78) |
| CIE-LCH | lch(44.87, 70.58, 310.36°) |
| OKLab | oklab(54.43% 0.0915 -0.1525) |
| OKLCH | oklch(54.43% 0.178 301) |
| XYZ | xyz(22.2317, 14.4484, 54.4301) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.89
Purpley
#8756E4
ΔE00 5.17
Deep Lavender
#8D5EB7
ΔE00 5.76
Light Indigo
#6D5ACF
ΔE00 5.81
Darkorchid
#9932CC
ΔE00 6.14
Slate Blue
#6A5ACD
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#834FC5 #91C54F
analogous
#4F56C5 #834FC5 #BE4FC5
triadic
#834FC5 #C5834F #4FC583
tetradic
#834FC5 #C54F56 #91C54F #4FC5BE
square
#834FC5 #C54F56 #91C54F #4FC5BE
split-complementary
#834FC5 #C5BE4F #56C54F
monochromatic
#482674 #6535A2 #834FC5 #A37DD4 #C4ABE3
Accessibility & contrast
On white
5.40
#834FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#834FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #834FC5
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##834FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##834FC5 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#086AC9
Deuteranopia (green-blind)
#2A69C2
Tritanopia (blue-blind)
#756882
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #834fc5; /* rgb */ color: rgb(131, 79, 197); /* oklch */ color: oklch(54.4% 0.178 301.0);
Tailwind
colors: {
custom: {
50: '#ab83d7',
500: '#834fc5',
950: '#000000',
},
}SCSS
$custom: #834fc5; $custom-light: #ab83d7; $custom-dark: #000000;
JSON
{
"hex": "#834fc5",
"rgb": {
"r": 131,
"g": 79,
"b": 197
},
"hsl": {
"h": 266.441,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.54425,
"c": 0.17783,
"h": 301
},
"luminance": 0.14448
}Semantic roles & 50–950 ramp
primary
#834FC5
secondary
#BBD19F
accent
#DA4E9C
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#100B14
muted
#7F7C83