#894BB5#894BB5
#894BB5 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.167 H 308.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #894BB5 |
|---|---|
| RGB | rgb(137, 75, 181) |
| HSL | hsl(275, 42%, 50%) |
| HSV | hsv(275, 59%, 71%) |
| CMYK | cmyk(24.3%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(43.78, 45.42, -46.16) |
| CIE-LCH | lch(43.78, 64.76, 314.53°) |
| OKLab | oklab(53.47% 0.1045 -0.1299) |
| OKLCH | oklch(53.47% 0.167 308.8) |
| XYZ | xyz(21.1714, 13.6870, 45.2337) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.82
Royal Purple
#7851A9
ΔE00 4.03
Deep Lavender
#8D5EB7
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 5.56
Medium Purple
#9E43A2
ΔE00 6.58
Amethyst
#9B5FC0
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894BB5 #77B54B
analogous
#544BB5 #894BB5 #B54BAC
triadic
#894BB5 #B5894B #4BB589
tetradic
#894BB5 #B5544B #77B54B #4BACB5
square
#894BB5 #B5544B #77B54B #4BACB5
split-complementary
#894BB5 #ACB54B #4BB554
monochromatic
#48275F #68398A #894BB5 #A576C7 #C2A2D9
Accessibility & contrast
On white
5.62
#894BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#894BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894BB5
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894BB5 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2465B8
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#835F79
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #894bb5; /* rgb */ color: rgb(137, 75, 181); /* oklch */ color: oklch(53.5% 0.167 308.8);
Tailwind
colors: {
custom: {
50: '#ae80cc',
500: '#894bb5',
950: '#000000',
},
}SCSS
$custom: #894bb5; $custom-light: #ae80cc; $custom-dark: #000000;
JSON
{
"hex": "#894bb5",
"rgb": {
"r": 137,
"g": 75,
"b": 181
},
"hsl": {
"h": 275.094,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.53469,
"c": 0.16675,
"h": 308.8
},
"luminance": 0.13687
}Semantic roles & 50–950 ramp
primary
#894BB5
secondary
#AAC696
accent
#D25689
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82