#834FB3#834FB3
#834FB3 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.156 H 305.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #834FB3 |
|---|---|
| RGB | rgb(131, 79, 179) |
| HSL | hsl(271, 40%, 51%) |
| HSV | hsv(271, 56%, 70%) |
| CMYK | cmyk(26.8%, 55.9%, 0%, 29.8%) |
| CIE-LAB | lab(43.76, 41.25, -45.06) |
| CIE-LCH | lch(43.76, 61.09, 312.47°) |
| OKLab | oklab(53.26% 0.0914 -0.1269) |
| OKLCH | oklch(53.26% 0.156 305.8) |
| XYZ | xyz(20.2910, 13.6721, 44.2091) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.66
Deep Lavender
#8D5EB7
ΔE00 4.84
Purply
#983FB2
ΔE00 5.28
Darkorchid
#9932CC
ΔE00 6.84
Amethyst
#9B5FC0
ΔE00 6.98
Medium Purple
#9E43A2
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#834FB3 #7FB34F
analogous
#514FB3 #834FB3 #B34FB1
triadic
#834FB3 #B3834F #4FB383
tetradic
#834FB3 #B3514F #7FB34F #4FB1B3
square
#834FB3 #B3514F #7FB34F #4FB1B3
split-complementary
#834FB3 #B1B34F #4FB351
monochromatic
#45295F #643B89 #834FB3 #A17AC5 #BFA4D8
Accessibility & contrast
On white
5.62
#834FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#834FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #834FB3
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##834FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##834FB3 | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B66B6
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#7B6279
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #834fb3; /* rgb */ color: rgb(131, 79, 179); /* oklch */ color: oklch(53.3% 0.156 305.8);
Tailwind
colors: {
custom: {
50: '#aa82ca',
500: '#834fb3',
950: '#000000',
},
}SCSS
$custom: #834fb3; $custom-light: #aa82ca; $custom-dark: #000000;
JSON
{
"hex": "#834fb3",
"rgb": {
"r": 131,
"g": 79,
"b": 179
},
"hsl": {
"h": 271.2,
"s": 39.683,
"l": 50.588
},
"oklch": {
"l": 0.53256,
"c": 0.1564,
"h": 305.8
},
"luminance": 0.13672
}Semantic roles & 50–950 ramp
primary
#834FB3
secondary
#AEC599
accent
#D05892
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82