#893AB4#893AB4
#893AB4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.190 H 311.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #893AB4 |
|---|---|
| RGB | rgb(137, 58, 180) |
| HSL | hsl(279, 51%, 47%) |
| HSV | hsv(279, 68%, 71%) |
| CMYK | cmyk(23.9%, 67.8%, 0%, 29.4%) |
| CIE-LAB | lab(40.64, 53.59, -50.61) |
| CIE-LCH | lch(40.64, 73.72, 316.64°) |
| OKLab | oklab(51.17% 0.1251 -0.1429) |
| OKLCH | oklch(51.17% 0.19 311.2) |
| XYZ | xyz(20.0663, 11.6402, 44.3609) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.57
Darkorchid
#9932CC
ΔE00 4.06
Darkviolet
#9400D3
ΔE00 6.09
Barney
#AC1DB8
ΔE00 6.35
Purple (survey)
#7E1E9C
ΔE00 6.43
Royal Purple
#7851A9
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893AB4 #65B43A
analogous
#4C3AB4 #893AB4 #B43AA2
triadic
#893AB4 #B4893A #3AB489
tetradic
#893AB4 #B44C3A #65B43A #3AA2B4
square
#893AB4 #B44C3A #65B43A #3AA2B4
split-complementary
#893AB4 #A2B43A #3AB44C
monochromatic
#431C57 #662B86 #893AB4 #A660CC #C08EDB
Accessibility & contrast
On white
6.31
#893AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#893AB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893AB4
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893AB4 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#845372
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893ab4; /* rgb */ color: rgb(137, 58, 180); /* oklch */ color: oklch(51.2% 0.190 311.2);
Tailwind
colors: {
custom: {
50: '#af76cb',
500: '#893ab4',
950: '#000000',
},
}SCSS
$custom: #893ab4; $custom-light: #af76cb; $custom-dark: #000000;
JSON
{
"hex": "#893ab4",
"rgb": {
"r": 137,
"g": 58,
"b": 180
},
"hsl": {
"h": 278.852,
"s": 51.261,
"l": 46.667
},
"oklch": {
"l": 0.51174,
"c": 0.18993,
"h": 311.2
},
"luminance": 0.1164
}Semantic roles & 50–950 ramp
primary
#893AB4
secondary
#9BC585
accent
#DB4D7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82