#845BB2#845BB2
#845BB2 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.3% C 0.136 H 304.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #845BB2 |
|---|---|
| RGB | rgb(132, 91, 178) |
| HSL | hsl(268, 36%, 53%) |
| HSV | hsv(268, 49%, 70%) |
| CMYK | cmyk(25.8%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(46.45, 34.49, -40.20) |
| CIE-LCH | lch(46.45, 52.96, 310.63°) |
| OKLab | oklab(55.25% 0.0762 -0.1127) |
| OKLCH | oklch(55.25% 0.136 304.1) |
| XYZ | xyz(21.2910, 15.6021, 44.0007) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.16
Royal Purple
#7851A9
ΔE00 3.87
Amethyst
#9B5FC0
ΔE00 5.18
Deep Lilac
#966EBD
ΔE00 7.06
Light Indigo
#6D5ACF
ΔE00 7.68
Purply
#983FB2
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845BB2 #89B25B
analogous
#5B5DB2 #845BB2 #B05BB2
triadic
#845BB2 #B2845B #5BB284
tetradic
#845BB2 #B25B5D #89B25B #5BB2B0
square
#845BB2 #B25B5D #89B25B #5BB2B0
split-complementary
#845BB2 #B2B05B #5DB25B
monochromatic
#482F64 #66428D #845BB2 #A385C6 #C2AED9
Accessibility & contrast
On white
5.10
#845BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#845BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #845BB2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845BB2 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#7C6A7E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #845bb2; /* rgb */ color: rgb(132, 91, 178); /* oklch */ color: oklch(55.3% 0.136 304.1);
Tailwind
colors: {
custom: {
50: '#aa8ac9',
500: '#845bb2',
950: '#000000',
},
}SCSS
$custom: #845bb2; $custom-light: #aa8ac9; $custom-dark: #000000;
JSON
{
"hex": "#845bb2",
"rgb": {
"r": 132,
"g": 91,
"b": 178
},
"hsl": {
"h": 268.276,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.55254,
"c": 0.13602,
"h": 304.1
},
"luminance": 0.15602
}Semantic roles & 50–950 ramp
primary
#845BB2
secondary
#B5C7A2
accent
#CC5C97
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82