#845CDD#845CDD
#845CDD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.189 H 294.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #845CDD |
|---|---|
| RGB | rgb(132, 92, 221) |
| HSL | hsl(259, 65%, 61%) |
| HSV | hsv(259, 58%, 87%) |
| CMYK | cmyk(40.3%, 58.4%, 0%, 13.3%) |
| CIE-LAB | lab(49.23, 45.04, -60.51) |
| CIE-LCH | lch(49.23, 75.43, 306.66°) |
| OKLab | oklab(58.13% 0.0768 -0.1722) |
| OKLCH | oklch(58.13% 0.189 294) |
| XYZ | xyz(26.3905, 17.7796, 70.4340) |
| Luminance | 0.1778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.76
Light Indigo
#6D5ACF
ΔE00 4.68
Mediumslateblue
#7B68EE
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 5.29
Dark Periwinkle
#665FD1
ΔE00 5.91
Lightish Purple
#A552E6
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845CDD #B5DD5C
analogous
#5C75DD #845CDD #C55CDD
triadic
#845CDD #DD845C #5CDD84
tetradic
#845CDD #DD5C75 #B5DD5C #5CDDC5
square
#845CDD #DD5C75 #B5DD5C #5CDDC5
split-complementary
#845CDD #DDC55C #75DD5C
monochromatic
#48219E #5F2BD0 #845CDD #AA8FE8 #D0C1F2
Accessibility & contrast
On white
4.61
#845CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#845CDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #845CDD
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845CDD | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#1D73DA
Tritanopia (blue-blind)
#6D7894
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #845cdd; /* rgb */ color: rgb(132, 92, 221); /* oklch */ color: oklch(58.1% 0.189 294.0);
Tailwind
colors: {
custom: {
50: '#ad8ce8',
500: '#845cdd',
950: '#000000',
},
}SCSS
$custom: #845cdd; $custom-light: #ad8ce8; $custom-dark: #000000;
JSON
{
"hex": "#845cdd",
"rgb": {
"r": 132,
"g": 92,
"b": 221
},
"hsl": {
"h": 258.605,
"s": 65.482,
"l": 61.373
},
"oklch": {
"l": 0.58133,
"c": 0.18857,
"h": 294
},
"luminance": 0.1778
}Semantic roles & 50–950 ramp
primary
#845CDD
secondary
#D4E3B2
accent
#CD1895
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84