#894AC4#894AC4
#894AC4 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.185 H 304.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #894AC4 |
|---|---|
| RGB | rgb(137, 74, 196) |
| HSL | hsl(271, 51%, 53%) |
| HSV | hsv(271, 62%, 77%) |
| CMYK | cmyk(30.1%, 62.2%, 0%, 23.1%) |
| CIE-LAB | lab(44.52, 49.47, -53.73) |
| CIE-LCH | lch(44.52, 73.04, 312.64°) |
| OKLab | oklab(54.31% 0.1055 -0.1521) |
| OKLCH | oklch(54.31% 0.185 304.7) |
| XYZ | xyz(22.7269, 14.2016, 53.7577) |
| Luminance | 0.1420 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.60
Purply
#983FB2
ΔE00 5.17
Royal Purple
#7851A9
ΔE00 5.38
Purpley
#8756E4
ΔE00 6.00
Deep Lavender
#8D5EB7
ΔE00 6.13
Blueviolet
#8A2BE2
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894AC4 #85C44A
analogous
#4C4AC4 #894AC4 #C44AC2
triadic
#894AC4 #C4894A #4AC489
tetradic
#894AC4 #C44C4A #85C44A #4AC2C4
square
#894AC4 #C44C4A #85C44A #4AC2C4
split-complementary
#894AC4 #C2C44A #4AC44C
monochromatic
#4B246F #6A339D #894AC4 #A778D3 #C5A6E2
Accessibility & contrast
On white
5.47
#894AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#894AC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894AC4
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894AC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894AC4 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#2C69C1
Tritanopia (blue-blind)
#7E6380
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #894ac4; /* rgb */ color: rgb(137, 74, 196); /* oklch */ color: oklch(54.3% 0.185 304.7);
Tailwind
colors: {
custom: {
50: '#af80d7',
500: '#894ac4',
950: '#000000',
},
}SCSS
$custom: #894ac4; $custom-light: #af80d7; $custom-dark: #000000;
JSON
{
"hex": "#894ac4",
"rgb": {
"r": 137,
"g": 74,
"b": 196
},
"hsl": {
"h": 270.984,
"s": 50.833,
"l": 52.941
},
"oklch": {
"l": 0.54307,
"c": 0.18512,
"h": 304.7
},
"luminance": 0.14201
}Semantic roles & 50–950 ramp
primary
#894AC4
secondary
#B4CF9B
accent
#DA4D92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83