#893EB5#893EB5
#893EB5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.186 H 310.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #893EB5 |
|---|---|
| RGB | rgb(137, 62, 181) |
| HSL | hsl(278, 49%, 48%) |
| HSV | hsv(278, 66%, 71%) |
| CMYK | cmyk(24.3%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(41.37, 51.95, -50.02) |
| CIE-LCH | lch(41.37, 72.12, 316.09°) |
| OKLab | oklab(51.72% 0.1205 -0.1412) |
| OKLCH | oklch(51.72% 0.186 310.5) |
| XYZ | xyz(20.3780, 12.1002, 44.9692) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.33
Darkorchid
#9932CC
ΔE00 4.05
Royal Purple
#7851A9
ΔE00 5.82
Darkviolet
#9400D3
ΔE00 6.59
Barney
#AC1DB8
ΔE00 6.61
Blueviolet
#8A2BE2
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893EB5 #6AB53E
analogous
#4D3EB5 #893EB5 #B53EA5
triadic
#893EB5 #B5893E #3EB589
tetradic
#893EB5 #B54D3E #6AB53E #3EA5B5
square
#893EB5 #B54D3E #6AB53E #3EA5B5
split-complementary
#893EB5 #A5B53E #3EB54D
monochromatic
#441F5A #662E87 #893EB5 #A566CA #C093DA
Accessibility & contrast
On white
6.14
#893EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#893EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893EB5
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893EB5 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#2F63B2
Tritanopia (blue-blind)
#835674
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #893eb5; /* rgb */ color: rgb(137, 62, 181); /* oklch */ color: oklch(51.7% 0.186 310.5);
Tailwind
colors: {
custom: {
50: '#af78cc',
500: '#893eb5',
950: '#000000',
},
}SCSS
$custom: #893eb5; $custom-light: #af78cc; $custom-dark: #000000;
JSON
{
"hex": "#893eb5",
"rgb": {
"r": 137,
"g": 62,
"b": 181
},
"hsl": {
"h": 277.815,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.51724,
"c": 0.18561,
"h": 310.5
},
"luminance": 0.121
}Semantic roles & 50–950 ramp
primary
#893EB5
secondary
#A0C589
accent
#D94F82
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82