#835FC5#835FC5
#835FC5 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.154 H 297.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #835FC5 |
|---|---|
| RGB | rgb(131, 95, 197) |
| HSL | hsl(261, 47%, 57%) |
| HSV | hsv(261, 52%, 77%) |
| CMYK | cmyk(33.5%, 51.8%, 0%, 22.7%) |
| CIE-LAB | lab(48.31, 36.74, -48.27) |
| CIE-LCH | lch(48.31, 60.66, 307.28°) |
| OKLab | oklab(56.96% 0.0713 -0.1363) |
| OKLCH | oklch(56.96% 0.154 297.6) |
| XYZ | xyz(23.5278, 17.0406, 54.8621) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.91
Light Indigo
#6D5ACF
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.57
Amethyst
#9B5FC0
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#835FC5 #A1C55F
analogous
#5F6EC5 #835FC5 #B65FC5
triadic
#835FC5 #C5835F #5FC583
tetradic
#835FC5 #C55F6E #A1C55F #5FC5B6
square
#835FC5 #C55F6E #A1C55F #5FC5B6
split-complementary
#835FC5 #C5B65F #6EC55F
monochromatic
#492D7C #643DA9 #835FC5 #A68CD5 #C9B9E6
Accessibility & contrast
On white
4.76
#835FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#835FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #835FC5
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##835FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##835FC5 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3973C9
Deuteranopia (green-blind)
#4272C3
Tritanopia (blue-blind)
#757389
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #835fc5; /* rgb */ color: rgb(131, 95, 197); /* oklch */ color: oklch(57.0% 0.154 297.6);
Tailwind
colors: {
custom: {
50: '#aa8dd7',
500: '#835fc5',
950: '#000000',
},
}SCSS
$custom: #835fc5; $custom-light: #aa8dd7; $custom-dark: #000000;
JSON
{
"hex": "#835fc5",
"rgb": {
"r": 131,
"g": 95,
"b": 197
},
"hsl": {
"h": 261.176,
"s": 46.789,
"l": 57.255
},
"oklch": {
"l": 0.5696,
"c": 0.15381,
"h": 297.6
},
"luminance": 0.17041
}Semantic roles & 50–950 ramp
primary
#835FC5
secondary
#C6D5AB
accent
#D651A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83