#893BB4#893BB4
#893BB4 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.189 H 311.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #893BB4 |
|---|---|
| RGB | rgb(137, 59, 180) |
| HSL | hsl(279, 51%, 47%) |
| HSV | hsv(279, 67%, 71%) |
| CMYK | cmyk(23.9%, 67.2%, 0%, 29.4%) |
| CIE-LAB | lab(40.80, 53.13, -50.35) |
| CIE-LCH | lch(40.80, 73.20, 316.54°) |
| OKLab | oklab(51.29% 0.124 -0.1421) |
| OKLCH | oklch(51.29% 0.189 311.1) |
| XYZ | xyz(20.1172, 11.7421, 44.3779) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.48
Darkorchid
#9932CC
ΔE00 4.07
Darkviolet
#9400D3
ΔE00 6.23
Royal Purple
#7851A9
ΔE00 6.28
Barney
#AC1DB8
ΔE00 6.39
Purple (survey)
#7E1E9C
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893BB4 #66B43B
analogous
#4D3BB4 #893BB4 #B43BA3
triadic
#893BB4 #B4893B #3BB489
tetradic
#893BB4 #B44D3B #66B43B #3BA3B4
square
#893BB4 #B44D3B #66B43B #3BA3B4
split-complementary
#893BB4 #A3B43B #3BB44D
monochromatic
#431D58 #662C86 #893BB4 #A561CB #C08FDA
Accessibility & contrast
On white
6.27
#893BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#893BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893BB4
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893BB4 | 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)
#005DB8
Deuteranopia (green-blind)
#2C62B1
Tritanopia (blue-blind)
#845473
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893bb4; /* rgb */ color: rgb(137, 59, 180); /* oklch */ color: oklch(51.3% 0.189 311.1);
Tailwind
colors: {
custom: {
50: '#af77cb',
500: '#893bb4',
950: '#000000',
},
}SCSS
$custom: #893bb4; $custom-light: #af77cb; $custom-dark: #000000;
JSON
{
"hex": "#893bb4",
"rgb": {
"r": 137,
"g": 59,
"b": 180
},
"hsl": {
"h": 278.678,
"s": 50.628,
"l": 46.863
},
"oklch": {
"l": 0.51292,
"c": 0.18862,
"h": 311.1
},
"luminance": 0.11742
}Semantic roles & 50–950 ramp
primary
#893BB4
secondary
#9CC586
accent
#DA4E80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82