#893EAB#893EAB
#893EAB is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.1% C 0.175 H 313.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #893EAB |
|---|---|
| RGB | rgb(137, 62, 171) |
| HSL | hsl(281, 47%, 46%) |
| HSV | hsv(281, 64%, 67%) |
| CMYK | cmyk(19.9%, 63.7%, 0%, 32.9%) |
| CIE-LAB | lab(40.74, 49.75, -45.12) |
| CIE-LCH | lch(40.74, 67.16, 317.80°) |
| OKLab | oklab(51.07% 0.121 -0.1268) |
| OKLCH | oklch(51.07% 0.175 313.6) |
| XYZ | xyz(19.3886, 11.7045, 39.7580) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.00
Darkorchid
#9932CC
ΔE00 5.36
Medium Purple
#9E43A2
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 5.83
Barney
#AC1DB8
ΔE00 6.47
Purple (survey)
#7E1E9C
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893EAB #60AB3E
analogous
#523EAB #893EAB #AB3E96
triadic
#893EAB #AB893E #3EAB89
tetradic
#893EAB #AB523E #60AB3E #3E96AB
square
#893EAB #AB523E #60AB3E #3E96AB
split-complementary
#893EAB #96AB3E #3EAB52
monochromatic
#411D51 #652E7E #893EAB #A661C6 #BF8ED6
Accessibility & contrast
On white
6.29
#893EAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#893EAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893EAB
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893EAB | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#3962A8
Tritanopia (blue-blind)
#86526F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893eab; /* rgb */ color: rgb(137, 62, 171); /* oklch */ color: oklch(51.1% 0.175 313.6);
Tailwind
colors: {
custom: {
50: '#af78c4',
500: '#893eab',
950: '#000000',
},
}SCSS
$custom: #893eab; $custom-light: #af78c4; $custom-dark: #000000;
JSON
{
"hex": "#893eab",
"rgb": {
"r": 137,
"g": 62,
"b": 171
},
"hsl": {
"h": 281.284,
"s": 46.781,
"l": 45.686
},
"oklch": {
"l": 0.51065,
"c": 0.17523,
"h": 313.6
},
"luminance": 0.11704
}Semantic roles & 50–950 ramp
primary
#893EAB
secondary
#97C184
accent
#D6517B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82