#893AB6#893AB6
#893AB6 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.192 H 310.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #893AB6 |
|---|---|
| RGB | rgb(137, 58, 182) |
| HSL | hsl(278, 52%, 47%) |
| HSV | hsv(278, 68%, 71%) |
| CMYK | cmyk(24.7%, 68.1%, 0%, 28.6%) |
| CIE-LAB | lab(40.77, 54.03, -51.58) |
| CIE-LCH | lch(40.77, 74.70, 316.33°) |
| OKLab | oklab(51.31% 0.125 -0.1457) |
| OKLCH | oklch(51.31% 0.192 310.6) |
| XYZ | xyz(20.2715, 11.7223, 45.4417) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.70
Darkorchid
#9932CC
ΔE00 3.83
Darkviolet
#9400D3
ΔE00 5.89
Blueviolet
#8A2BE2
ΔE00 6.34
Barney
#AC1DB8
ΔE00 6.41
Royal Purple
#7851A9
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893AB6 #67B63A
analogous
#4B3AB6 #893AB6 #B63AA5
triadic
#893AB6 #B6893A #3AB689
tetradic
#893AB6 #B64B3A #67B63A #3AA5B6
square
#893AB6 #B64B3A #67B63A #3AA5B6
split-complementary
#893AB6 #A5B63A #3AB64B
monochromatic
#431C59 #662B88 #893AB6 #A561CD #C08FDB
Accessibility & contrast
On white
6.28
#893AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#893AB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893AB6
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893AB6 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#835473
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893ab6; /* rgb */ color: rgb(137, 58, 182); /* oklch */ color: oklch(51.3% 0.192 310.6);
Tailwind
colors: {
custom: {
50: '#af76cd',
500: '#893ab6',
950: '#000000',
},
}SCSS
$custom: #893ab6; $custom-light: #af76cd; $custom-dark: #000000;
JSON
{
"hex": "#893ab6",
"rgb": {
"r": 137,
"g": 58,
"b": 182
},
"hsl": {
"h": 278.226,
"s": 51.667,
"l": 47.059
},
"oklch": {
"l": 0.51311,
"c": 0.19196,
"h": 310.6
},
"luminance": 0.11722
}Semantic roles & 50–950 ramp
primary
#893AB6
secondary
#9DC686
accent
#DB4D80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82