#894EAC#894EAC
#894EAC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.152 H 311.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #894EAC |
|---|---|
| RGB | rgb(137, 78, 172) |
| HSL | hsl(278, 38%, 49%) |
| HSV | hsv(278, 55%, 67%) |
| CMYK | cmyk(20.3%, 54.7%, 0%, 32.5%) |
| CIE-LAB | lab(43.87, 41.74, -40.73) |
| CIE-LCH | lch(43.87, 58.32, 315.70°) |
| OKLab | oklab(53.36% 0.1001 -0.1141) |
| OKLCH | oklch(53.36% 0.152 311.3) |
| XYZ | xyz(20.4860, 13.7461, 40.5958) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.75
Purply
#983FB2
ΔE00 4.09
Deep Lavender
#8D5EB7
ΔE00 4.85
Medium Purple
#9E43A2
ΔE00 5.65
Amethyst
#9B5FC0
ΔE00 6.64
Ugly Purple
#A442A0
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894EAC #71AC4E
analogous
#5A4EAC #894EAC #AC4EA0
triadic
#894EAC #AC894E #4EAC89
tetradic
#894EAC #AC5A4E #71AC4E #4EA0AC
square
#894EAC #AC5A4E #71AC4E #4EA0AC
split-complementary
#894EAC #A0AC4E #4EAC5A
monochromatic
#462858 #673B82 #894EAC #A576C1 #C1A0D4
Accessibility & contrast
On white
5.60
#894EAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#894EAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894EAC
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894EAC | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#855E75
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #894eac; /* rgb */ color: rgb(137, 78, 172); /* oklch */ color: oklch(53.4% 0.152 311.3);
Tailwind
colors: {
custom: {
50: '#ae82c5',
500: '#894eac',
950: '#000000',
},
}SCSS
$custom: #894eac; $custom-light: #ae82c5; $custom-dark: #000000;
JSON
{
"hex": "#894eac",
"rgb": {
"r": 137,
"g": 78,
"b": 172
},
"hsl": {
"h": 277.66,
"s": 37.6,
"l": 49.02
},
"oklch": {
"l": 0.53364,
"c": 0.15177,
"h": 311.3
},
"luminance": 0.13746
}Semantic roles & 50–950 ramp
primary
#894EAC
secondary
#A5C195
accent
#CE5A85
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82