#835AC0#835AC0
#835AC0 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.155 H 300.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #835AC0 |
|---|---|
| RGB | rgb(131, 90, 192) |
| HSL | hsl(264, 45%, 55%) |
| HSV | hsv(264, 53%, 75%) |
| CMYK | cmyk(31.8%, 53.1%, 0%, 24.7%) |
| CIE-LAB | lab(46.90, 38.31, -47.63) |
| CIE-LCH | lch(46.90, 61.13, 308.81°) |
| OKLab | oklab(55.82% 0.0775 -0.1344) |
| OKLCH | oklch(55.82% 0.155 300) |
| XYZ | xyz(22.5284, 15.9432, 51.7494) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.46
Royal Purple
#7851A9
ΔE00 4.80
Light Indigo
#6D5ACF
ΔE00 5.48
Purpley
#8756E4
ΔE00 5.55
Amethyst
#9B5FC0
ΔE00 5.57
Slate Blue
#6A5ACD
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#835AC0 #97C05A
analogous
#5A64C0 #835AC0 #B65AC0
triadic
#835AC0 #C0835A #5AC083
tetradic
#835AC0 #C05A64 #97C05A #5AC0B6
square
#835AC0 #C05A64 #97C05A #5AC0B6
split-complementary
#835AC0 #C0B65A #64C05A
monochromatic
#492C73 #653DA0 #835AC0 #A486D1 #C6B3E2
Accessibility & contrast
On white
5.01
#835AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#835AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #835AC0
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##835AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##835AC0 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346FC3
Deuteranopia (green-blind)
#406EBE
Tritanopia (blue-blind)
#776E84
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #835ac0; /* rgb */ color: rgb(131, 90, 192); /* oklch */ color: oklch(55.8% 0.155 300.0);
Tailwind
colors: {
custom: {
50: '#aa8ad3',
500: '#835ac0',
950: '#000000',
},
}SCSS
$custom: #835ac0; $custom-light: #aa8ad3; $custom-dark: #000000;
JSON
{
"hex": "#835ac0",
"rgb": {
"r": 131,
"g": 90,
"b": 192
},
"hsl": {
"h": 264.118,
"s": 44.737,
"l": 55.294
},
"oklch": {
"l": 0.55819,
"c": 0.15518,
"h": 300
},
"luminance": 0.15943
}Semantic roles & 50–950 ramp
primary
#835AC0
secondary
#BFD0A6
accent
#D453A1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83