#845AC0#845AC0
#845AC0 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.155 H 300.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #845AC0 |
|---|---|
| RGB | rgb(132, 90, 192) |
| HSL | hsl(265, 45%, 55%) |
| HSV | hsv(265, 53%, 75%) |
| CMYK | cmyk(31.2%, 53.1%, 0%, 24.7%) |
| CIE-LAB | lab(47.01, 38.57, -47.46) |
| CIE-LCH | lch(47.01, 61.15, 309.10°) |
| OKLab | oklab(55.92% 0.0788 -0.1339) |
| OKLCH | oklch(55.92% 0.155 300.5) |
| XYZ | xyz(22.6841, 16.0235, 51.7567) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.29
Royal Purple
#7851A9
ΔE00 4.85
Amethyst
#9B5FC0
ΔE00 5.36
Purpley
#8756E4
ΔE00 5.57
Light Indigo
#6D5ACF
ΔE00 5.67
Slate Blue
#6A5ACD
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845AC0 #96C05A
analogous
#5A63C0 #845AC0 #B75AC0
triadic
#845AC0 #C0845A #5AC084
tetradic
#845AC0 #C05A63 #96C05A #5AC0B7
square
#845AC0 #C05A63 #96C05A #5AC0B7
split-complementary
#845AC0 #C0B75A #63C05A
monochromatic
#492C73 #663DA0 #845AC0 #A586D1 #C6B3E2
Accessibility & contrast
On white
4.99
#845AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#845AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #845AC0
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845AC0 | 1.00 | 4.99 | 4.20 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346FC3
Deuteranopia (green-blind)
#416FBE
Tritanopia (blue-blind)
#786E84
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #845ac0; /* rgb */ color: rgb(132, 90, 192); /* oklch */ color: oklch(55.9% 0.155 300.5);
Tailwind
colors: {
custom: {
50: '#ab8ad3',
500: '#845ac0',
950: '#000000',
},
}SCSS
$custom: #845ac0; $custom-light: #ab8ad3; $custom-dark: #000000;
JSON
{
"hex": "#845ac0",
"rgb": {
"r": 132,
"g": 90,
"b": 192
},
"hsl": {
"h": 264.706,
"s": 44.737,
"l": 55.294
},
"oklch": {
"l": 0.55922,
"c": 0.15536,
"h": 300.5
},
"luminance": 0.16024
}Semantic roles & 50–950 ramp
primary
#845AC0
secondary
#BFD0A6
accent
#D4539F
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83