#845FBF#845FBF
#845FBF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.7% C 0.146 H 299.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #845FBF |
|---|---|
| RGB | rgb(132, 95, 191) |
| HSL | hsl(263, 43%, 56%) |
| HSV | hsv(263, 50%, 75%) |
| CMYK | cmyk(30.9%, 50.3%, 0%, 25.1%) |
| CIE-LAB | lab(48.07, 35.45, -45.18) |
| CIE-LCH | lch(48.07, 57.42, 308.12°) |
| OKLab | oklab(56.7% 0.072 -0.1272) |
| OKLCH | oklch(56.7% 0.146 299.5) |
| XYZ | xyz(23.0097, 16.8514, 51.3205) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.91
Amethyst
#9B5FC0
ΔE00 5.07
Royal Purple
#7851A9
ΔE00 5.65
Light Indigo
#6D5ACF
ΔE00 5.98
Purpley
#8756E4
ΔE00 6.14
Slate Blue
#6A5ACD
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845FBF #9ABF5F
analogous
#5F6ABF #845FBF #B45FBF
triadic
#845FBF #BF845F #5FBF84
tetradic
#845FBF #BF5F6A #9ABF5F #5FBFB4
square
#845FBF #BF5F6A #9ABF5F #5FBFB4
split-complementary
#845FBF #BFB45F #6ABF5F
monochromatic
#4A2F75 #6540A1 #845FBF #A68BD0 #C7B6E2
Accessibility & contrast
On white
4.81
#845FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#845FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #845FBF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845FBF | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#4871BD
Tritanopia (blue-blind)
#787186
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #845fbf; /* rgb */ color: rgb(132, 95, 191); /* oklch */ color: oklch(56.7% 0.146 299.5);
Tailwind
colors: {
custom: {
50: '#aa8dd3',
500: '#845fbf',
950: '#000000',
},
}SCSS
$custom: #845fbf; $custom-light: #aa8dd3; $custom-dark: #000000;
JSON
{
"hex": "#845fbf",
"rgb": {
"r": 132,
"g": 95,
"b": 191
},
"hsl": {
"h": 263.125,
"s": 42.857,
"l": 56.078
},
"oklch": {
"l": 0.56696,
"c": 0.14621,
"h": 299.5
},
"luminance": 0.16852
}Semantic roles & 50–950 ramp
primary
#845FBF
secondary
#C1D1A9
accent
#D355A2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83