#834CBD#834CBD
#834CBD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.173 H 303.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #834CBD |
|---|---|
| RGB | rgb(131, 76, 189) |
| HSL | hsl(269, 46%, 52%) |
| HSV | hsv(269, 60%, 74%) |
| CMYK | cmyk(30.7%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(43.75, 45.32, -50.93) |
| CIE-LCH | lch(43.75, 68.17, 311.67°) |
| OKLab | oklab(53.45% 0.0954 -0.1441) |
| OKLCH | oklch(53.45% 0.173 303.5) |
| XYZ | xyz(21.1277, 13.6683, 49.6594) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.98
Purply
#983FB2
ΔE00 5.55
Darkorchid
#9932CC
ΔE00 5.70
Deep Lavender
#8D5EB7
ΔE00 5.85
Purpley
#8756E4
ΔE00 6.68
Light Indigo
#6D5ACF
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#834CBD #86BD4C
analogous
#4C4EBD #834CBD #BC4CBD
triadic
#834CBD #BD834C #4CBD83
tetradic
#834CBD #BD4C4E #86BD4C #4CBDBC
square
#834CBD #BD4C4E #86BD4C #4CBDBC
split-complementary
#834CBD #BDBC4C #4EBD4C
monochromatic
#462668 #653795 #834CBD #A279CD #C1A5DE
Accessibility & contrast
On white
5.62
#834CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#834CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #834CBD
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##834CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##834CBD | 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)
#1366C1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#78637D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #834cbd; /* rgb */ color: rgb(131, 76, 189); /* oklch */ color: oklch(53.4% 0.173 303.5);
Tailwind
colors: {
custom: {
50: '#ab81d1',
500: '#834cbd',
950: '#000000',
},
}SCSS
$custom: #834cbd; $custom-light: #ab81d1; $custom-dark: #000000;
JSON
{
"hex": "#834cbd",
"rgb": {
"r": 131,
"g": 76,
"b": 189
},
"hsl": {
"h": 269.204,
"s": 46.122,
"l": 51.961
},
"oklch": {
"l": 0.53448,
"c": 0.17278,
"h": 303.5
},
"luminance": 0.13668
}Semantic roles & 50–950 ramp
primary
#834CBD
secondary
#B3CB9A
accent
#D65296
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82