#894FC4#894FC4
#894FC4 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.178 H 304.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #894FC4 |
|---|---|
| RGB | rgb(137, 79, 196) |
| HSL | hsl(270, 50%, 54%) |
| HSV | hsv(270, 60%, 77%) |
| CMYK | cmyk(30.1%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(45.49, 46.86, -52.17) |
| CIE-LCH | lch(45.49, 70.13, 311.93°) |
| OKLab | oklab(55.01% 0.0994 -0.1475) |
| OKLCH | oklch(55.01% 0.178 304) |
| XYZ | xyz(23.0741, 14.8959, 53.8735) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 5.09
Royal Purple
#7851A9
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.44
Darkorchid
#9932CC
ΔE00 5.62
Purply
#983FB2
ΔE00 5.75
Amethyst
#9B5FC0
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894FC4 #8AC44F
analogous
#4F50C4 #894FC4 #C44FC4
triadic
#894FC4 #C4894F #4FC489
tetradic
#894FC4 #C44F50 #8AC44F #4FC4C4
square
#894FC4 #C44F50 #8AC44F #4FC4C4
split-complementary
#894FC4 #C4C44F #50C44F
monochromatic
#4C2672 #6A36A0 #894FC4 #A87DD3 #C6ABE3
Accessibility & contrast
On white
5.28
#894FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#894FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894FC4
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894FC4 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#156AC8
Deuteranopia (green-blind)
#336CC1
Tritanopia (blue-blind)
#7E6782
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #894fc4; /* rgb */ color: rgb(137, 79, 196); /* oklch */ color: oklch(55.0% 0.178 304.0);
Tailwind
colors: {
custom: {
50: '#af83d6',
500: '#894fc4',
950: '#000000',
},
}SCSS
$custom: #894fc4; $custom-light: #af83d6; $custom-dark: #000000;
JSON
{
"hex": "#894fc4",
"rgb": {
"r": 137,
"g": 79,
"b": 196
},
"hsl": {
"h": 269.744,
"s": 49.787,
"l": 53.922
},
"oklch": {
"l": 0.55013,
"c": 0.17793,
"h": 304
},
"luminance": 0.14896
}Semantic roles & 50–950 ramp
primary
#894FC4
secondary
#B8D09E
accent
#D94E94
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83