#835FC3#835FC3
#835FC3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.151 H 298.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #835FC3 |
|---|---|
| RGB | rgb(131, 95, 195) |
| HSL | hsl(262, 45%, 57%) |
| HSV | hsv(262, 51%, 76%) |
| CMYK | cmyk(32.8%, 51.3%, 0%, 23.5%) |
| CIE-LAB | lab(48.20, 36.22, -47.30) |
| CIE-LCH | lch(48.20, 59.57, 307.44°) |
| OKLab | oklab(56.84% 0.0711 -0.1335) |
| OKLCH | oklch(56.84% 0.151 298) |
| XYZ | xyz(23.3002, 16.9496, 53.6632) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 5.34
Purpley
#8756E4
ΔE00 5.47
Amethyst
#9B5FC0
ΔE00 5.50
Slate Blue
#6A5ACD
ΔE00 5.74
Royal Purple
#7851A9
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#835FC3 #9FC35F
analogous
#5F6DC3 #835FC3 #B55FC3
triadic
#835FC3 #C3835F #5FC383
tetradic
#835FC3 #C35F6D #9FC35F #5FC3B5
square
#835FC3 #C35F6D #9FC35F #5FC3B5
split-complementary
#835FC3 #C3B55F #6DC35F
monochromatic
#492E7A #643EA6 #835FC3 #A58CD4 #C8B8E4
Accessibility & contrast
On white
4.78
#835FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#835FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #835FC3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##835FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##835FC3 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B73C6
Deuteranopia (green-blind)
#4471C1
Tritanopia (blue-blind)
#757288
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #835fc3; /* rgb */ color: rgb(131, 95, 195); /* oklch */ color: oklch(56.8% 0.151 298.0);
Tailwind
colors: {
custom: {
50: '#aa8dd6',
500: '#835fc3',
950: '#000000',
},
}SCSS
$custom: #835fc3; $custom-light: #aa8dd6; $custom-dark: #000000;
JSON
{
"hex": "#835fc3",
"rgb": {
"r": 131,
"g": 95,
"b": 195
},
"hsl": {
"h": 261.6,
"s": 45.455,
"l": 56.863
},
"oklch": {
"l": 0.56837,
"c": 0.15123,
"h": 298
},
"luminance": 0.1695
}Semantic roles & 50–950 ramp
primary
#835FC3
secondary
#C5D3AB
accent
#D553A6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83