#845CD3#845CD3
#845CD3 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.176 H 295.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #845CD3 |
|---|---|
| RGB | rgb(132, 92, 211) |
| HSL | hsl(260, 57%, 59%) |
| HSV | hsv(260, 56%, 83%) |
| CMYK | cmyk(37.4%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(48.59, 42.37, -55.85) |
| CIE-LCH | lch(48.59, 70.10, 307.19°) |
| OKLab | oklab(57.46% 0.0769 -0.1585) |
| OKLCH | oklch(57.46% 0.176 295.9) |
| XYZ | xyz(25.0977, 17.2625, 63.6251) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.78
Light Indigo
#6D5ACF
ΔE00 4.46
Slate Blue
#6A5ACD
ΔE00 5.05
Deep Lavender
#8D5EB7
ΔE00 5.79
Mediumslateblue
#7B68EE
ΔE00 5.93
Dark Periwinkle
#665FD1
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845CD3 #ABD35C
analogous
#5C70D3 #845CD3 #C05CD3
triadic
#845CD3 #D3845C #5CD384
tetradic
#845CD3 #D35C70 #ABD35C #5CD3C0
square
#845CD3 #D35C70 #ABD35C #5CD3C0
split-complementary
#845CD3 #D3C05C #70D35C
monochromatic
#49268E #6233BE #845CD3 #A88CE0 #CDBCED
Accessibility & contrast
On white
4.72
#845CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#845CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #845CD3
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845CD3 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2074D7
Deuteranopia (green-blind)
#2F72D0
Tritanopia (blue-blind)
#71758F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #845cd3; /* rgb */ color: rgb(132, 92, 211); /* oklch */ color: oklch(57.5% 0.176 295.9);
Tailwind
colors: {
custom: {
50: '#ac8be1',
500: '#845cd3',
950: '#000000',
},
}SCSS
$custom: #845cd3; $custom-light: #ac8be1; $custom-dark: #000000;
JSON
{
"hex": "#845cd3",
"rgb": {
"r": 132,
"g": 92,
"b": 211
},
"hsl": {
"h": 260.168,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.5746,
"c": 0.17618,
"h": 295.9
},
"luminance": 0.17263
}Semantic roles & 50–950 ramp
primary
#845CD3
secondary
#CDDDAE
accent
#E147AD
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83