#893DB1#893DB1
#893DB1 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.183 H 311.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #893DB1 |
|---|---|
| RGB | rgb(137, 61, 177) |
| HSL | hsl(279, 49%, 47%) |
| HSV | hsv(279, 66%, 69%) |
| CMYK | cmyk(22.6%, 65.5%, 0%, 30.6%) |
| CIE-LAB | lab(40.95, 51.54, -48.35) |
| CIE-LCH | lch(40.95, 70.67, 316.83°) |
| OKLab | oklab(51.33% 0.1219 -0.1363) |
| OKLCH | oklch(51.33% 0.183 311.8) |
| XYZ | xyz(19.9196, 11.8307, 42.8207) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.17
Darkorchid
#9932CC
ΔE00 4.49
Royal Purple
#7851A9
ΔE00 5.93
Barney
#AC1DB8
ΔE00 6.44
Medium Purple
#9E43A2
ΔE00 6.45
Purple (survey)
#7E1E9C
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893DB1 #65B13D
analogous
#4F3DB1 #893DB1 #B13D9F
triadic
#893DB1 #B1893D #3DB189
tetradic
#893DB1 #B14F3D #65B13D #3D9FB1
square
#893DB1 #B14F3D #65B13D #3D9FB1
split-complementary
#893DB1 #9FB13D #3DB14F
monochromatic
#431E56 #662D83 #893DB1 #A662C9 #C090D9
Accessibility & contrast
On white
6.24
#893DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#893DB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893DB1
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893DB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893DB1 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#845472
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #893db1; /* rgb */ color: rgb(137, 61, 177); /* oklch */ color: oklch(51.3% 0.183 311.8);
Tailwind
colors: {
custom: {
50: '#af78c9',
500: '#893db1',
950: '#000000',
},
}SCSS
$custom: #893db1; $custom-light: #af78c9; $custom-dark: #000000;
JSON
{
"hex": "#893db1",
"rgb": {
"r": 137,
"g": 61,
"b": 177
},
"hsl": {
"h": 279.31,
"s": 48.739,
"l": 46.667
},
"oklch": {
"l": 0.51332,
"c": 0.18284,
"h": 311.8
},
"luminance": 0.1183
}Semantic roles & 50–950 ramp
primary
#893DB1
secondary
#9BC486
accent
#D8507F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82