#894AC2#894AC2
#894AC2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.183 H 305.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #894AC2 |
|---|---|
| RGB | rgb(137, 74, 194) |
| HSL | hsl(272, 50%, 53%) |
| HSV | hsv(272, 62%, 76%) |
| CMYK | cmyk(29.4%, 61.9%, 0%, 23.9%) |
| CIE-LAB | lab(44.39, 49.00, -52.77) |
| CIE-LCH | lch(44.39, 72.01, 312.88°) |
| OKLab | oklab(54.17% 0.1056 -0.1493) |
| OKLCH | oklch(54.17% 0.183 305.3) |
| XYZ | xyz(22.5008, 14.1111, 52.5668) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.63
Purply
#983FB2
ΔE00 4.94
Royal Purple
#7851A9
ΔE00 5.17
Deep Lavender
#8D5EB7
ΔE00 6.02
Purpley
#8756E4
ΔE00 6.29
Blueviolet
#8A2BE2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894AC2 #83C24A
analogous
#4D4AC2 #894AC2 #C24ABF
triadic
#894AC2 #C2894A #4AC289
tetradic
#894AC2 #C24D4A #83C24A #4ABFC2
square
#894AC2 #C24D4A #83C24A #4ABFC2
split-complementary
#894AC2 #BFC24A #4AC24D
monochromatic
#4B256D #6A349B #894AC2 #A778D1 #C5A6E1
Accessibility & contrast
On white
5.49
#894AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#894AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894AC2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894AC2 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#7F637F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #894ac2; /* rgb */ color: rgb(137, 74, 194); /* oklch */ color: oklch(54.2% 0.183 305.3);
Tailwind
colors: {
custom: {
50: '#af80d5',
500: '#894ac2',
950: '#000000',
},
}SCSS
$custom: #894ac2; $custom-light: #af80d5; $custom-dark: #000000;
JSON
{
"hex": "#894ac2",
"rgb": {
"r": 137,
"g": 74,
"b": 194
},
"hsl": {
"h": 271.5,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.54172,
"c": 0.18287,
"h": 305.3
},
"luminance": 0.14111
}Semantic roles & 50–950 ramp
primary
#894AC2
secondary
#B3CE9A
accent
#D94F90
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83