#893DAF#893DAF
#893DAF is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.181 H 312.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #893DAF |
|---|---|
| RGB | rgb(137, 61, 175) |
| HSL | hsl(280, 48%, 46%) |
| HSV | hsv(280, 65%, 69%) |
| CMYK | cmyk(21.7%, 65.1%, 0%, 31.4%) |
| CIE-LAB | lab(40.82, 51.10, -47.37) |
| CIE-LCH | lch(40.82, 69.68, 317.17°) |
| OKLab | oklab(51.2% 0.122 -0.1334) |
| OKLCH | oklch(51.2% 0.181 312.4) |
| XYZ | xyz(19.7218, 11.7515, 41.7785) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.10
Darkorchid
#9932CC
ΔE00 4.76
Royal Purple
#7851A9
ΔE00 5.93
Medium Purple
#9E43A2
ΔE00 6.23
Barney
#AC1DB8
ΔE00 6.41
Purple (survey)
#7E1E9C
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893DAF #63AF3D
analogous
#503DAF #893DAF #AF3D9C
triadic
#893DAF #AF893D #3DAF89
tetradic
#893DAF #AF503D #63AF3D #3D9CAF
square
#893DAF #AF503D #63AF3D #3D9CAF
split-complementary
#893DAF #9CAF3D #3DAF50
monochromatic
#421D54 #652D82 #893DAF #A661C8 #BF8FD8
Accessibility & contrast
On white
6.27
#893DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#893DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893DAF
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893DAF | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#855371
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893daf; /* rgb */ color: rgb(137, 61, 175); /* oklch */ color: oklch(51.2% 0.181 312.4);
Tailwind
colors: {
custom: {
50: '#af78c7',
500: '#893daf',
950: '#000000',
},
}SCSS
$custom: #893daf; $custom-light: #af78c7; $custom-dark: #000000;
JSON
{
"hex": "#893daf",
"rgb": {
"r": 137,
"g": 61,
"b": 175
},
"hsl": {
"h": 280,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.512,
"c": 0.18077,
"h": 312.4
},
"luminance": 0.11751
}Semantic roles & 50–950 ramp
primary
#893DAF
secondary
#9AC385
accent
#D8507D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82