#894DAF#894DAF
#894DAF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.157 H 310.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #894DAF |
|---|---|
| RGB | rgb(137, 77, 175) |
| HSL | hsl(277, 39%, 49%) |
| HSV | hsv(277, 56%, 69%) |
| CMYK | cmyk(21.7%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(43.83, 42.97, -42.55) |
| CIE-LCH | lch(43.83, 60.47, 315.28°) |
| OKLab | oklab(53.39% 0.1017 -0.1194) |
| OKLCH | oklch(53.39% 0.157 310.4) |
| XYZ | xyz(20.7068, 13.7217, 42.1069) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.74
Purply
#983FB2
ΔE00 3.90
Deep Lavender
#8D5EB7
ΔE00 4.96
Medium Purple
#9E43A2
ΔE00 5.92
Darkorchid
#9932CC
ΔE00 6.52
Amethyst
#9B5FC0
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894DAF #73AF4D
analogous
#584DAF #894DAF #AF4DA4
triadic
#894DAF #AF894D #4DAF89
tetradic
#894DAF #AF584D #73AF4D #4DA4AF
square
#894DAF #AF584D #73AF4D #4DA4AF
split-complementary
#894DAF #A4AF4D #4DAF58
monochromatic
#46285A #683A85 #894DAF #A576C3 #C1A1D6
Accessibility & contrast
On white
5.61
#894DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#894DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894DAF
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894DAF | 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)
#2F65B2
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#845E76
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #894daf; /* rgb */ color: rgb(137, 77, 175); /* oklch */ color: oklch(53.4% 0.157 310.4);
Tailwind
colors: {
custom: {
50: '#ae81c7',
500: '#894daf',
950: '#000000',
},
}SCSS
$custom: #894daf; $custom-light: #ae81c7; $custom-dark: #000000;
JSON
{
"hex": "#894daf",
"rgb": {
"r": 137,
"g": 77,
"b": 175
},
"hsl": {
"h": 276.735,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.53393,
"c": 0.15681,
"h": 310.4
},
"luminance": 0.13721
}Semantic roles & 50–950 ramp
primary
#894DAF
secondary
#A7C395
accent
#CF5987
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110A13
muted
#807C82