#894AC5#894AC5
#894AC5 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.186 H 304.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #894AC5 |
|---|---|
| RGB | rgb(137, 74, 197) |
| HSL | hsl(271, 51%, 53%) |
| HSV | hsv(271, 62%, 77%) |
| CMYK | cmyk(30.5%, 62.4%, 0%, 22.7%) |
| CIE-LAB | lab(44.59, 49.71, -54.20) |
| CIE-LCH | lch(44.59, 73.55, 312.53°) |
| OKLab | oklab(54.37% 0.1055 -0.1535) |
| OKLCH | oklch(54.37% 0.186 304.5) |
| XYZ | xyz(22.8411, 14.2472, 54.3592) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.59
Purply
#983FB2
ΔE00 5.29
Royal Purple
#7851A9
ΔE00 5.49
Purpley
#8756E4
ΔE00 5.86
Blueviolet
#8A2BE2
ΔE00 6.18
Deep Lavender
#8D5EB7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894AC5 #86C54A
analogous
#4C4AC5 #894AC5 #C54AC3
triadic
#894AC5 #C5894A #4AC589
tetradic
#894AC5 #C54C4A #86C54A #4AC3C5
square
#894AC5 #C54C4A #86C54A #4AC3C5
split-complementary
#894AC5 #C3C54A #4AC54C
monochromatic
#4B2471 #6A339F #894AC5 #A778D4 #C5A7E3
Accessibility & contrast
On white
5.46
#894AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#894AC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894AC5
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894AC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894AC5 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#2A69C2
Tritanopia (blue-blind)
#7E6481
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #894ac5; /* rgb */ color: rgb(137, 74, 197); /* oklch */ color: oklch(54.4% 0.186 304.5);
Tailwind
colors: {
custom: {
50: '#af80d7',
500: '#894ac5',
950: '#000000',
},
}SCSS
$custom: #894ac5; $custom-light: #af80d7; $custom-dark: #000000;
JSON
{
"hex": "#894ac5",
"rgb": {
"r": 137,
"g": 74,
"b": 197
},
"hsl": {
"h": 270.732,
"s": 51.464,
"l": 53.137
},
"oklch": {
"l": 0.54374,
"c": 0.18624,
"h": 304.5
},
"luminance": 0.14247
}Semantic roles & 50–950 ramp
primary
#894AC5
secondary
#B5D09B
accent
#DB4D92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83