#893AB3#893AB3
#893AB3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.189 H 311.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #893AB3 |
|---|---|
| RGB | rgb(137, 58, 179) |
| HSL | hsl(279, 51%, 46%) |
| HSV | hsv(279, 68%, 70%) |
| CMYK | cmyk(23.5%, 67.6%, 0%, 29.8%) |
| CIE-LAB | lab(40.57, 53.37, -50.13) |
| CIE-LCH | lch(40.57, 73.22, 316.80°) |
| OKLab | oklab(51.11% 0.1252 -0.1415) |
| OKLCH | oklch(51.11% 0.189 311.5) |
| XYZ | xyz(19.9648, 11.5996, 43.8263) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.52
Darkorchid
#9932CC
ΔE00 4.18
Darkviolet
#9400D3
ΔE00 6.19
Barney
#AC1DB8
ΔE00 6.32
Purple (survey)
#7E1E9C
ΔE00 6.34
Royal Purple
#7851A9
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893AB3 #64B33A
analogous
#4D3AB3 #893AB3 #B33AA1
triadic
#893AB3 #B3893A #3AB389
tetradic
#893AB3 #B34D3A #64B33A #3AA1B3
square
#893AB3 #B34D3A #64B33A #3AA1B3
split-complementary
#893AB3 #A1B33A #3AB34D
monochromatic
#421C57 #662B85 #893AB3 #A65FCB #BF8DDA
Accessibility & contrast
On white
6.33
#893AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#893AB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893AB3
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893AB3 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#845372
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893ab3; /* rgb */ color: rgb(137, 58, 179); /* oklch */ color: oklch(51.1% 0.189 311.5);
Tailwind
colors: {
custom: {
50: '#af76ca',
500: '#893ab3',
950: '#000000',
},
}SCSS
$custom: #893ab3; $custom-light: #af76ca; $custom-dark: #000000;
JSON
{
"hex": "#893ab3",
"rgb": {
"r": 137,
"g": 58,
"b": 179
},
"hsl": {
"h": 279.174,
"s": 51.055,
"l": 46.471
},
"oklch": {
"l": 0.51105,
"c": 0.18892,
"h": 311.5
},
"luminance": 0.11599
}Semantic roles & 50–950 ramp
primary
#893AB3
secondary
#9AC584
accent
#DB4D7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82