#845097#845097
#845097 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 51.9% C 0.122 H 316.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #845097 |
|---|---|
| RGB | rgb(132, 80, 151) |
| HSL | hsl(284, 31%, 45%) |
| HSV | hsv(284, 47%, 59%) |
| CMYK | cmyk(12.6%, 47%, 0%, 40.8%) |
| CIE-LAB | lab(42.58, 34.48, -30.31) |
| CIE-LCH | lch(42.58, 45.90, 318.68°) |
| OKLab | oklab(51.92% 0.0884 -0.0839) |
| OKLCH | oklch(51.92% 0.122 316.5) |
| XYZ | xyz(17.9695, 12.8777, 30.8112) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 5.08
Royal Purple
#7851A9
ΔE00 5.51
Medium Purple
#9E43A2
ΔE00 5.92
Purplish
#94568C
ΔE00 6.26
Muted Purple
#805B87
ΔE00 6.26
Purply
#983FB2
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845097 #639750
analogous
#615097 #845097 #975086
triadic
#845097 #978450 #509784
tetradic
#845097 #976150 #639750 #508697
square
#845097 #976150 #639750 #508697
split-complementary
#845097 #869750 #509761
monochromatic
#3E2647 #613B6F #845097 #A271B4 #BC99C9
Accessibility & contrast
On white
5.87
#845097 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#845097 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #845097
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845097 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#835A6C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #845097; /* rgb */ color: rgb(132, 80, 151); /* oklch */ color: oklch(51.9% 0.122 316.5);
Tailwind
colors: {
custom: {
50: '#a982b6',
500: '#845097',
950: '#000000',
},
}SCSS
$custom: #845097; $custom-light: #a982b6; $custom-dark: #000000;
JSON
{
"hex": "#845097",
"rgb": {
"r": 132,
"g": 80,
"b": 151
},
"hsl": {
"h": 283.944,
"s": 30.736,
"l": 45.294
},
"oklch": {
"l": 0.51916,
"c": 0.12191,
"h": 316.5
},
"luminance": 0.12877
}Semantic roles & 50–950 ramp
primary
#845097
secondary
#98B68D
accent
#C7617C
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80