#845BBB#845BBB
#845BBB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.147 H 301.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #845BBB |
|---|---|
| RGB | rgb(132, 91, 187) |
| HSL | hsl(266, 41%, 55%) |
| HSV | hsv(266, 51%, 73%) |
| CMYK | cmyk(29.4%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(46.94, 36.73, -44.66) |
| CIE-LCH | lch(46.94, 57.82, 309.44°) |
| OKLab | oklab(55.78% 0.0771 -0.1257) |
| OKLCH | oklch(55.78% 0.147 301.5) |
| XYZ | xyz(22.2244, 15.9755, 48.9168) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.60
Royal Purple
#7851A9
ΔE00 4.46
Amethyst
#9B5FC0
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 6.31
Purpley
#8756E4
ΔE00 6.50
Slate Blue
#6A5ACD
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845BBB #92BB5B
analogous
#5B62BB #845BBB #B45BBB
triadic
#845BBB #BB845B #5BBB84
tetradic
#845BBB #BB5B62 #92BB5B #5BBBB4
square
#845BBB #BB5B62 #92BB5B #5BBBB4
split-complementary
#845BBB #BBB45B #62BB5B
monochromatic
#492E6E #664099 #845BBB #A486CD #C5B2DF
Accessibility & contrast
On white
5.01
#845BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#845BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #845BBB
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845BBB | 1.00 | 5.01 | 4.20 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#796D82
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #845bbb; /* rgb */ color: rgb(132, 91, 187); /* oklch */ color: oklch(55.8% 0.147 301.5);
Tailwind
colors: {
custom: {
50: '#aa8ad0',
500: '#845bbb',
950: '#000000',
},
}SCSS
$custom: #845bbb; $custom-light: #aa8ad0; $custom-dark: #000000;
JSON
{
"hex": "#845bbb",
"rgb": {
"r": 132,
"g": 91,
"b": 187
},
"hsl": {
"h": 265.625,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.55783,
"c": 0.14746,
"h": 301.5
},
"luminance": 0.15976
}Semantic roles & 50–950 ramp
primary
#845BBB
secondary
#BCCDA5
accent
#D1579D
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82