#894CB2#894CB2
#894CB2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.162 H 309.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #894CB2 |
|---|---|
| RGB | rgb(137, 76, 178) |
| HSL | hsl(276, 40%, 50%) |
| HSV | hsv(276, 57%, 70%) |
| CMYK | cmyk(23%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(43.80, 44.19, -44.37) |
| CIE-LCH | lch(43.80, 62.62, 314.89°) |
| OKLab | oklab(53.43% 0.1031 -0.1247) |
| OKLCH | oklch(53.43% 0.162 309.6) |
| XYZ | xyz(20.9353, 13.7020, 43.6527) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.81
Royal Purple
#7851A9
ΔE00 3.84
Deep Lavender
#8D5EB7
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 6.02
Medium Purple
#9E43A2
ΔE00 6.24
Amethyst
#9B5FC0
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894CB2 #75B24C
analogous
#564CB2 #894CB2 #B24CA8
triadic
#894CB2 #B2894C #4CB289
tetradic
#894CB2 #B2564C #75B24C #4CA8B2
square
#894CB2 #B2564C #75B24C #4CA8B2
split-complementary
#894CB2 #A8B24C #4CB256
monochromatic
#47275C #683A87 #894CB2 #A576C5 #C1A1D7
Accessibility & contrast
On white
5.61
#894CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#894CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894CB2
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894CB2 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#4168B0
Tritanopia (blue-blind)
#845F78
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #894cb2; /* rgb */ color: rgb(137, 76, 178); /* oklch */ color: oklch(53.4% 0.162 309.6);
Tailwind
colors: {
custom: {
50: '#ae81c9',
500: '#894cb2',
950: '#000000',
},
}SCSS
$custom: #894cb2; $custom-light: #ae81c9; $custom-dark: #000000;
JSON
{
"hex": "#894cb2",
"rgb": {
"r": 137,
"g": 76,
"b": 178
},
"hsl": {
"h": 275.882,
"s": 40.157,
"l": 49.804
},
"oklch": {
"l": 0.53428,
"c": 0.1618,
"h": 309.6
},
"luminance": 0.13702
}Semantic roles & 50–950 ramp
primary
#894CB2
secondary
#A8C496
accent
#D05888
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82