#834FC7#834FC7
#834FC7 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.180 H 300.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #834FC7 |
|---|---|
| RGB | rgb(131, 79, 199) |
| HSL | hsl(266, 52%, 55%) |
| HSV | hsv(266, 60%, 78%) |
| CMYK | cmyk(34.2%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(45.00, 46.21, -54.73) |
| CIE-LCH | lch(45.00, 71.63, 310.17°) |
| OKLab | oklab(54.56% 0.0915 -0.1553) |
| OKLCH | oklch(54.56% 0.18 300.5) |
| XYZ | xyz(22.4624, 14.5406, 55.6450) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.88
Royal Purple
#7851A9
ΔE00 5.18
Light Indigo
#6D5ACF
ΔE00 5.66
Deep Lavender
#8D5EB7
ΔE00 5.93
Slate Blue
#6A5ACD
ΔE00 6.08
Darkorchid
#9932CC
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#834FC7 #93C74F
analogous
#4F57C7 #834FC7 #BF4FC7
triadic
#834FC7 #C7834F #4FC783
tetradic
#834FC7 #C74F57 #93C74F #4FC7BF
square
#834FC7 #C74F57 #93C74F #4FC7BF
split-complementary
#834FC7 #C7BF4F #57C74F
monochromatic
#482676 #6534A4 #834FC7 #A47DD6 #C4ACE5
Accessibility & contrast
On white
5.37
#834FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#834FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #834FC7
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##834FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##834FC7 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#276AC4
Tritanopia (blue-blind)
#756883
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #834fc7; /* rgb */ color: rgb(131, 79, 199); /* oklch */ color: oklch(54.6% 0.180 300.5);
Tailwind
colors: {
custom: {
50: '#ab83d9',
500: '#834fc7',
950: '#000000',
},
}SCSS
$custom: #834fc7; $custom-light: #ab83d9; $custom-dark: #000000;
JSON
{
"hex": "#834fc7",
"rgb": {
"r": 131,
"g": 79,
"b": 199
},
"hsl": {
"h": 266,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.54561,
"c": 0.1802,
"h": 300.5
},
"luminance": 0.14541
}Semantic roles & 50–950 ramp
primary
#834FC7
secondary
#BCD2A0
accent
#DB4D9D
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#100B15
muted
#7F7C83