#894CB5#894CB5
#894CB5 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.165 H 308.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #894CB5 |
|---|---|
| RGB | rgb(137, 76, 181) |
| HSL | hsl(275, 42%, 50%) |
| HSV | hsv(275, 58%, 71%) |
| CMYK | cmyk(24.3%, 58%, 0%, 29%) |
| CIE-LAB | lab(43.98, 44.89, -45.85) |
| CIE-LCH | lch(43.98, 64.16, 314.39°) |
| OKLab | oklab(53.61% 0.1032 -0.129) |
| OKLCH | oklch(53.61% 0.165 308.7) |
| XYZ | xyz(21.2398, 13.8238, 45.2564) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.94
Purply
#983FB2
ΔE00 3.96
Deep Lavender
#8D5EB7
ΔE00 5.12
Darkorchid
#9932CC
ΔE00 5.73
Medium Purple
#9E43A2
ΔE00 6.61
Amethyst
#9B5FC0
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894CB5 #78B54C
analogous
#544CB5 #894CB5 #B54CAD
triadic
#894CB5 #B5894C #4CB589
tetradic
#894CB5 #B5544C #78B54C #4CADB5
square
#894CB5 #B5544C #78B54C #4CADB5
split-complementary
#894CB5 #ADB54C #4CB554
monochromatic
#48275F #68398B #894CB5 #A677C7 #C2A3D9
Accessibility & contrast
On white
5.58
#894CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#894CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894CB5
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894CB5 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2665B8
Deuteranopia (green-blind)
#3E69B2
Tritanopia (blue-blind)
#836079
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #894cb5; /* rgb */ color: rgb(137, 76, 181); /* oklch */ color: oklch(53.6% 0.165 308.7);
Tailwind
colors: {
custom: {
50: '#ae81cc',
500: '#894cb5',
950: '#000000',
},
}SCSS
$custom: #894cb5; $custom-light: #ae81cc; $custom-dark: #000000;
JSON
{
"hex": "#894cb5",
"rgb": {
"r": 137,
"g": 76,
"b": 181
},
"hsl": {
"h": 274.857,
"s": 41.502,
"l": 50.392
},
"oklch": {
"l": 0.53614,
"c": 0.16521,
"h": 308.7
},
"luminance": 0.13823
}Semantic roles & 50–950 ramp
primary
#894CB5
secondary
#ABC697
accent
#D1568A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82