#845CDC#845CDC
#845CDC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.187 H 294.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #845CDC |
|---|---|
| RGB | rgb(132, 92, 220) |
| HSL | hsl(259, 65%, 61%) |
| HSV | hsv(259, 58%, 86%) |
| CMYK | cmyk(40%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(49.16, 44.77, -60.05) |
| CIE-LCH | lch(49.16, 74.90, 306.71°) |
| OKLab | oklab(58.06% 0.0768 -0.1709) |
| OKLCH | oklch(58.06% 0.187 294.2) |
| XYZ | xyz(26.2577, 17.7265, 69.7344) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.83
Light Indigo
#6D5ACF
ΔE00 4.63
Mediumslateblue
#7B68EE
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.24
Dark Periwinkle
#665FD1
ΔE00 5.89
Lightish Purple
#A552E6
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845CDC #B4DC5C
analogous
#5C74DC #845CDC #C45CDC
triadic
#845CDC #DC845C #5CDC84
tetradic
#845CDC #DC5C74 #B4DC5C #5CDCC4
square
#845CDC #DC5C74 #B4DC5C #5CDCC4
split-complementary
#845CDC #DCC45C #74DC5C
monochromatic
#48229C #5F2CCE #845CDC #AA8EE7 #D0C1F2
Accessibility & contrast
On white
4.62
#845CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#845CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #845CDC
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845CDC | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0476E0
Deuteranopia (green-blind)
#1F73D9
Tritanopia (blue-blind)
#6D7893
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #845cdc; /* rgb */ color: rgb(132, 92, 220); /* oklch */ color: oklch(58.1% 0.187 294.2);
Tailwind
colors: {
custom: {
50: '#ad8ce8',
500: '#845cdc',
950: '#000000',
},
}SCSS
$custom: #845cdc; $custom-light: #ad8ce8; $custom-dark: #000000;
JSON
{
"hex": "#845cdc",
"rgb": {
"r": 132,
"g": 92,
"b": 220
},
"hsl": {
"h": 258.75,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.58064,
"c": 0.18735,
"h": 294.2
},
"luminance": 0.17727
}Semantic roles & 50–950 ramp
primary
#845CDC
secondary
#D3E2B2
accent
#CC1994
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84