#893AB7#893AB7
#893AB7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.193 H 310.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #893AB7 |
|---|---|
| RGB | rgb(137, 58, 183) |
| HSL | hsl(278, 52%, 47%) |
| HSV | hsv(278, 68%, 72%) |
| CMYK | cmyk(25.1%, 68.3%, 0%, 28.2%) |
| CIE-LAB | lab(40.84, 54.25, -52.06) |
| CIE-LCH | lch(40.84, 75.19, 316.18°) |
| OKLab | oklab(51.38% 0.1249 -0.1471) |
| OKLCH | oklch(51.38% 0.193 310.3) |
| XYZ | xyz(20.3752, 11.7638, 45.9879) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.72
Purply
#983FB2
ΔE00 3.77
Darkviolet
#9400D3
ΔE00 5.80
Blueviolet
#8A2BE2
ΔE00 6.18
Barney
#AC1DB8
ΔE00 6.45
Royal Purple
#7851A9
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893AB7 #68B73A
analogous
#4B3AB7 #893AB7 #B73AA7
triadic
#893AB7 #B7893A #3AB789
tetradic
#893AB7 #B74B3A #68B73A #3AA7B7
square
#893AB7 #B74B3A #68B73A #3AA7B7
split-complementary
#893AB7 #A7B73A #3AB74B
monochromatic
#431D5A #662B89 #893AB7 #A561CD #C090DC
Accessibility & contrast
On white
6.26
#893AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#893AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893AB7
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893AB7 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2762B4
Tritanopia (blue-blind)
#835474
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893ab7; /* rgb */ color: rgb(137, 58, 183); /* oklch */ color: oklch(51.4% 0.193 310.3);
Tailwind
colors: {
custom: {
50: '#af76cd',
500: '#893ab7',
950: '#000000',
},
}SCSS
$custom: #893ab7; $custom-light: #af76cd; $custom-dark: #000000;
JSON
{
"hex": "#893ab7",
"rgb": {
"r": 137,
"g": 58,
"b": 183
},
"hsl": {
"h": 277.92,
"s": 51.867,
"l": 47.255
},
"oklch": {
"l": 0.5138,
"c": 0.19297,
"h": 310.3
},
"luminance": 0.11763
}Semantic roles & 50–950 ramp
primary
#893AB7
secondary
#9EC786
accent
#DB4C81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82