#835BCC#835BCC
#835BCC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.169 H 297.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #835BCC |
|---|---|
| RGB | rgb(131, 91, 204) |
| HSL | hsl(261, 53%, 58%) |
| HSV | hsv(261, 55%, 80%) |
| CMYK | cmyk(35.8%, 55.4%, 0%, 20%) |
| CIE-LAB | lab(47.84, 40.86, -53.05) |
| CIE-LCH | lch(47.84, 66.96, 307.60°) |
| OKLab | oklab(56.74% 0.0767 -0.1503) |
| OKLCH | oklch(56.74% 0.169 297) |
| XYZ | xyz(23.9975, 16.6667, 59.0677) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.67
Light Indigo
#6D5ACF
ΔE00 4.45
Deep Lavender
#8D5EB7
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 6.10
Amethyst
#9B5FC0
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#835BCC #A4CC5B
analogous
#5B6BCC #835BCC #BB5BCC
triadic
#835BCC #CC835B #5BCC83
tetradic
#835BCC #CC5B6B #A4CC5B #5BCCBB
square
#835BCC #CC5B6B #A4CC5B #5BCCBB
split-complementary
#835BCC #CCBB5B #6BCC5B
monochromatic
#492984 #6337B2 #835BCC #A68ADB #CAB8E9
Accessibility & contrast
On white
4.85
#835BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#835BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #835BCC
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##835BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##835BCC | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2872D0
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#72728B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #835bcc; /* rgb */ color: rgb(131, 91, 204); /* oklch */ color: oklch(56.7% 0.169 297.0);
Tailwind
colors: {
custom: {
50: '#ab8bdc',
500: '#835bcc',
950: '#000000',
},
}SCSS
$custom: #835bcc; $custom-light: #ab8bdc; $custom-dark: #000000;
JSON
{
"hex": "#835bcc",
"rgb": {
"r": 131,
"g": 91,
"b": 204
},
"hsl": {
"h": 261.239,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.56743,
"c": 0.16878,
"h": 297
},
"luminance": 0.16667
}Semantic roles & 50–950 ramp
primary
#835BCC
secondary
#C8D8AB
accent
#DC4CA9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83