#893AB1#893AB1
#893AB1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.187 H 312.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #893AB1 |
|---|---|
| RGB | rgb(137, 58, 177) |
| HSL | hsl(280, 51%, 46%) |
| HSV | hsv(280, 67%, 69%) |
| CMYK | cmyk(22.6%, 67.2%, 0%, 30.6%) |
| CIE-LAB | lab(40.44, 52.94, -49.16) |
| CIE-LCH | lch(40.44, 72.24, 317.12°) |
| OKLab | oklab(50.97% 0.1254 -0.1386) |
| OKLCH | oklch(50.97% 0.187 312.1) |
| XYZ | xyz(19.7640, 11.5193, 42.7688) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.43
Darkorchid
#9932CC
ΔE00 4.43
Purple (survey)
#7E1E9C
ΔE00 6.18
Barney
#AC1DB8
ΔE00 6.27
Darkviolet
#9400D3
ΔE00 6.40
Royal Purple
#7851A9
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893AB1 #62B13A
analogous
#4D3AB1 #893AB1 #B13A9D
triadic
#893AB1 #B1893A #3AB189
tetradic
#893AB1 #B14D3A #62B13A #3A9DB1
square
#893AB1 #B14D3A #62B13A #3A9DB1
split-complementary
#893AB1 #9DB13A #3AB14D
monochromatic
#421C55 #652B83 #893AB1 #A65ECA #BF8CD9
Accessibility & contrast
On white
6.36
#893AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#893AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893AB1
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893AB1 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#2F61AE
Tritanopia (blue-blind)
#845271
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #893ab1; /* rgb */ color: rgb(137, 58, 177); /* oklch */ color: oklch(51.0% 0.187 312.1);
Tailwind
colors: {
custom: {
50: '#af76c9',
500: '#893ab1',
950: '#000000',
},
}SCSS
$custom: #893ab1; $custom-light: #af76c9; $custom-dark: #000000;
JSON
{
"hex": "#893ab1",
"rgb": {
"r": 137,
"g": 58,
"b": 177
},
"hsl": {
"h": 279.832,
"s": 50.638,
"l": 46.078
},
"oklch": {
"l": 0.5097,
"c": 0.1869,
"h": 312.1
},
"luminance": 0.11519
}Semantic roles & 50–950 ramp
primary
#893AB1
secondary
#99C483
accent
#DA4E7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82