#893AB8#893AB8
#893AB8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.194 H 310.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #893AB8 |
|---|---|
| RGB | rgb(137, 58, 184) |
| HSL | hsl(278, 52%, 47%) |
| HSV | hsv(278, 68%, 72%) |
| CMYK | cmyk(25.5%, 68.5%, 0%, 27.8%) |
| CIE-LAB | lab(40.91, 54.47, -52.54) |
| CIE-LCH | lch(40.91, 75.68, 316.03°) |
| OKLab | oklab(51.45% 0.1248 -0.1485) |
| OKLCH | oklch(51.45% 0.194 310) |
| XYZ | xyz(20.4796, 11.8056, 46.5380) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.62
Purply
#983FB2
ΔE00 3.84
Darkviolet
#9400D3
ΔE00 5.72
Blueviolet
#8A2BE2
ΔE00 6.03
Barney
#AC1DB8
ΔE00 6.49
Royal Purple
#7851A9
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893AB8 #69B83A
analogous
#4A3AB8 #893AB8 #B83AA8
triadic
#893AB8 #B8893A #3AB889
tetradic
#893AB8 #B84A3A #69B83A #3AA8B8
square
#893AB8 #B84A3A #69B83A #3AA8B8
split-complementary
#893AB8 #A8B83A #3AB84A
monochromatic
#441D5B #662B89 #893AB8 #A562CD #C090DC
Accessibility & contrast
On white
6.25
#893AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#893AB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893AB8
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893AB8 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#2662B5
Tritanopia (blue-blind)
#835574
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893ab8; /* rgb */ color: rgb(137, 58, 184); /* oklch */ color: oklch(51.4% 0.194 310.0);
Tailwind
colors: {
custom: {
50: '#af76ce',
500: '#893ab8',
950: '#000000',
},
}SCSS
$custom: #893ab8; $custom-light: #af76ce; $custom-dark: #000000;
JSON
{
"hex": "#893ab8",
"rgb": {
"r": 137,
"g": 58,
"b": 184
},
"hsl": {
"h": 277.619,
"s": 52.066,
"l": 47.451
},
"oklch": {
"l": 0.5145,
"c": 0.19399,
"h": 310
},
"luminance": 0.11805
}Semantic roles & 50–950 ramp
primary
#893AB8
secondary
#9FC787
accent
#DC4C82
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82