#845DCD#845DCD
#845DCD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.2% C 0.167 H 296.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #845DCD |
|---|---|
| RGB | rgb(132, 93, 205) |
| HSL | hsl(261, 53%, 58%) |
| HSV | hsv(261, 55%, 80%) |
| CMYK | cmyk(35.6%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(48.44, 40.23, -52.66) |
| CIE-LCH | lch(48.44, 66.26, 307.38°) |
| OKLab | oklab(57.23% 0.0755 -0.1491) |
| OKLCH | oklch(57.23% 0.167 296.9) |
| XYZ | xyz(24.4467, 17.1416, 59.7665) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.73
Light Indigo
#6D5ACF
ΔE00 4.67
Deep Lavender
#8D5EB7
ΔE00 4.91
Slate Blue
#6A5ACD
ΔE00 5.19
Amethyst
#9B5FC0
ΔE00 6.08
Dark Periwinkle
#665FD1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845DCD #A6CD5D
analogous
#5D6ECD #845DCD #BC5DCD
triadic
#845DCD #CD845D #5DCD84
tetradic
#845DCD #CD5D6E #A6CD5D #5DCDBC
square
#845DCD #CD5D6E #A6CD5D #5DCDBC
split-complementary
#845DCD #CDBC5D #6ECD5D
monochromatic
#4A2986 #6338B5 #845DCD #A88CDB #CBBBEA
Accessibility & contrast
On white
4.74
#845DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#845DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #845DCD
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845DCD | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C74D1
Deuteranopia (green-blind)
#3872CA
Tritanopia (blue-blind)
#73748C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #845dcd; /* rgb */ color: rgb(132, 93, 205); /* oklch */ color: oklch(57.2% 0.167 296.9);
Tailwind
colors: {
custom: {
50: '#ac8cdd',
500: '#845dcd',
950: '#000000',
},
}SCSS
$custom: #845dcd; $custom-light: #ac8cdd; $custom-dark: #000000;
JSON
{
"hex": "#845dcd",
"rgb": {
"r": 132,
"g": 93,
"b": 205
},
"hsl": {
"h": 260.893,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.5723,
"c": 0.16718,
"h": 296.9
},
"luminance": 0.17142
}Semantic roles & 50–950 ramp
primary
#845DCD
secondary
#CAD9AD
accent
#DC4CAA
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#100C15
muted
#7F7D83