#835FBF#835FBF
#835FBF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.6% C 0.146 H 299.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #835FBF |
|---|---|
| RGB | rgb(131, 95, 191) |
| HSL | hsl(263, 43%, 56%) |
| HSV | hsv(263, 50%, 75%) |
| CMYK | cmyk(31.4%, 50.3%, 0%, 25.1%) |
| CIE-LAB | lab(47.97, 35.18, -45.35) |
| CIE-LCH | lch(47.97, 57.39, 307.81°) |
| OKLab | oklab(56.6% 0.0708 -0.1278) |
| OKLCH | oklch(56.6% 0.146 299) |
| XYZ | xyz(22.8540, 16.7711, 51.3132) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.11
Amethyst
#9B5FC0
ΔE00 5.30
Royal Purple
#7851A9
ΔE00 5.60
Light Indigo
#6D5ACF
ΔE00 5.79
Purpley
#8756E4
ΔE00 6.12
Slate Blue
#6A5ACD
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#835FBF #9BBF5F
analogous
#5F6BBF #835FBF #B35FBF
triadic
#835FBF #BF835F #5FBF83
tetradic
#835FBF #BF5F6B #9BBF5F #5FBFB3
square
#835FBF #BF5F6B #9BBF5F #5FBFB3
split-complementary
#835FBF #BFB35F #6BBF5F
monochromatic
#492F75 #6440A1 #835FBF #A58BD0 #C7B6E2
Accessibility & contrast
On white
4.82
#835FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#835FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #835FBF
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##835FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##835FBF | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#777186
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #835fbf; /* rgb */ color: rgb(131, 95, 191); /* oklch */ color: oklch(56.6% 0.146 299.0);
Tailwind
colors: {
custom: {
50: '#aa8dd3',
500: '#835fbf',
950: '#000000',
},
}SCSS
$custom: #835fbf; $custom-light: #aa8dd3; $custom-dark: #000000;
JSON
{
"hex": "#835fbf",
"rgb": {
"r": 131,
"g": 95,
"b": 191
},
"hsl": {
"h": 262.5,
"s": 42.857,
"l": 56.078
},
"oklch": {
"l": 0.56596,
"c": 0.14605,
"h": 299
},
"luminance": 0.16771
}Semantic roles & 50–950 ramp
primary
#835FBF
secondary
#C2D1A9
accent
#D355A4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83