#893ACC#893ACC
#893ACC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.214 H 304.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #893ACC |
|---|---|
| RGB | rgb(137, 58, 204) |
| HSL | hsl(272, 59%, 51%) |
| HSV | hsv(272, 72%, 80%) |
| CMYK | cmyk(32.8%, 71.6%, 0%, 20%) |
| CIE-LAB | lab(42.31, 58.98, -61.93) |
| CIE-LCH | lch(42.31, 85.52, 313.60°) |
| OKLab | oklab(52.9% 0.122 -0.1761) |
| OKLCH | oklch(52.9% 0.214 304.7) |
| XYZ | xyz(22.7262, 12.7042, 58.3699) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.85
Blueviolet
#8A2BE2
ΔE00 3.28
Darkviolet
#9400D3
ΔE00 4.92
Violet (survey)
#9A0EEA
ΔE00 4.97
Bluish Purple
#703BE7
ΔE00 5.64
Purply
#983FB2
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893ACC #7DCC3A
analogous
#403ACC #893ACC #CC3AC6
triadic
#893ACC #CC893A #3ACC89
tetradic
#893ACC #CC403A #7DCC3A #3AC6CC
square
#893ACC #CC403A #7DCC3A #3AC6CC
split-complementary
#893ACC #C6CC3A #3ACC40
monochromatic
#491D6F #6929A0 #893ACC #A66BD9 #C39BE5
Accessibility & contrast
On white
5.93
#893ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#893ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893ACC
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893ACC | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#7C5D7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #893acc; /* rgb */ color: rgb(137, 58, 204); /* oklch */ color: oklch(52.9% 0.214 304.7);
Tailwind
colors: {
custom: {
50: '#b177dc',
500: '#893acc',
950: '#000000',
},
}SCSS
$custom: #893acc; $custom-light: #b177dc; $custom-dark: #000000;
JSON
{
"hex": "#893acc",
"rgb": {
"r": 137,
"g": 58,
"b": 204
},
"hsl": {
"h": 272.466,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.52899,
"c": 0.21426,
"h": 304.7
},
"luminance": 0.12704
}Semantic roles & 50–950 ramp
primary
#893ACC
secondary
#AED191
accent
#E2468D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83