#893AB5#893AB5
#893AB5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.191 H 310.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #893AB5 |
|---|---|
| RGB | rgb(137, 58, 181) |
| HSL | hsl(279, 51%, 47%) |
| HSV | hsv(279, 68%, 71%) |
| CMYK | cmyk(24.3%, 68%, 0%, 29%) |
| CIE-LAB | lab(40.70, 53.81, -51.10) |
| CIE-LCH | lch(40.70, 74.21, 316.48°) |
| OKLab | oklab(51.24% 0.125 -0.1443) |
| OKLCH | oklch(51.24% 0.191 310.9) |
| XYZ | xyz(20.1685, 11.6811, 44.8993) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.63
Darkorchid
#9932CC
ΔE00 3.94
Darkviolet
#9400D3
ΔE00 5.99
Barney
#AC1DB8
ΔE00 6.38
Royal Purple
#7851A9
ΔE00 6.45
Blueviolet
#8A2BE2
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893AB5 #66B53A
analogous
#4C3AB5 #893AB5 #B53AA3
triadic
#893AB5 #B5893A #3AB589
tetradic
#893AB5 #B54C3A #66B53A #3AA3B5
square
#893AB5 #B54C3A #66B53A #3AA3B5
split-complementary
#893AB5 #A3B53A #3AB54C
monochromatic
#431C58 #662B87 #893AB5 #A560CC #C08EDB
Accessibility & contrast
On white
6.29
#893AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#893AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893AB5
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893AB5 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#2A61B2
Tritanopia (blue-blind)
#835473
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893ab5; /* rgb */ color: rgb(137, 58, 181); /* oklch */ color: oklch(51.2% 0.191 310.9);
Tailwind
colors: {
custom: {
50: '#af76cc',
500: '#893ab5',
950: '#000000',
},
}SCSS
$custom: #893ab5; $custom-light: #af76cc; $custom-dark: #000000;
JSON
{
"hex": "#893ab5",
"rgb": {
"r": 137,
"g": 58,
"b": 181
},
"hsl": {
"h": 278.537,
"s": 51.464,
"l": 46.863
},
"oklch": {
"l": 0.51242,
"c": 0.19095,
"h": 310.9
},
"luminance": 0.11681
}Semantic roles & 50–950 ramp
primary
#893AB5
secondary
#9CC685
accent
#DB4D80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82