#893AB2#893AB2
#893AB2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.188 H 311.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #893AB2 |
|---|---|
| RGB | rgb(137, 58, 178) |
| HSL | hsl(280, 51%, 46%) |
| HSV | hsv(280, 67%, 70%) |
| CMYK | cmyk(23%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(40.51, 53.16, -49.64) |
| CIE-LCH | lch(40.51, 72.73, 316.96°) |
| OKLab | oklab(51.04% 0.1253 -0.14) |
| OKLCH | oklch(51.04% 0.188 311.8) |
| XYZ | xyz(19.8640, 11.5593, 43.2956) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.47
Darkorchid
#9932CC
ΔE00 4.30
Purple (survey)
#7E1E9C
ΔE00 6.26
Darkviolet
#9400D3
ΔE00 6.29
Barney
#AC1DB8
ΔE00 6.29
Royal Purple
#7851A9
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893AB2 #63B23A
analogous
#4D3AB2 #893AB2 #B23A9F
triadic
#893AB2 #B2893A #3AB289
tetradic
#893AB2 #B24D3A #63B23A #3A9FB2
square
#893AB2 #B24D3A #63B23A #3A9FB2
split-complementary
#893AB2 #9FB23A #3AB24D
monochromatic
#421C56 #652B84 #893AB2 #A65FCB #BF8DDA
Accessibility & contrast
On white
6.34
#893AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#893AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893AB2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893AB2 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#845371
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #893ab2; /* rgb */ color: rgb(137, 58, 178); /* oklch */ color: oklch(51.0% 0.188 311.8);
Tailwind
colors: {
custom: {
50: '#af76ca',
500: '#893ab2',
950: '#000000',
},
}SCSS
$custom: #893ab2; $custom-light: #af76ca; $custom-dark: #000000;
JSON
{
"hex": "#893ab2",
"rgb": {
"r": 137,
"g": 58,
"b": 178
},
"hsl": {
"h": 279.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.51037,
"c": 0.18791,
"h": 311.8
},
"luminance": 0.11559
}Semantic roles & 50–950 ramp
primary
#893AB2
secondary
#9AC483
accent
#DA4D7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82