#894FC5#894FC5
#894FC5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.179 H 303.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #894FC5 |
|---|---|
| RGB | rgb(137, 79, 197) |
| HSL | hsl(269, 50%, 54%) |
| HSV | hsv(269, 60%, 77%) |
| CMYK | cmyk(30.5%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(45.55, 47.11, -52.64) |
| CIE-LCH | lch(45.55, 70.64, 311.82°) |
| OKLab | oklab(55.08% 0.0994 -0.1489) |
| OKLCH | oklch(55.08% 0.179 303.7) |
| XYZ | xyz(23.1883, 14.9416, 54.4749) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 5.17
Royal Purple
#7851A9
ΔE00 5.28
Purpley
#8756E4
ΔE00 5.28
Darkorchid
#9932CC
ΔE00 5.61
Purply
#983FB2
ΔE00 5.86
Amethyst
#9B5FC0
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894FC5 #8BC54F
analogous
#4F50C5 #894FC5 #C44FC5
triadic
#894FC5 #C5894F #4FC589
tetradic
#894FC5 #C54F50 #8BC54F #4FC5C4
square
#894FC5 #C54F50 #8BC54F #4FC5C4
split-complementary
#894FC5 #C5C44F #50C54F
monochromatic
#4C2674 #6A35A2 #894FC5 #A87DD4 #C7ABE3
Accessibility & contrast
On white
5.27
#894FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#894FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894FC5
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894FC5 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126AC9
Deuteranopia (green-blind)
#326CC2
Tritanopia (blue-blind)
#7E6782
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #894fc5; /* rgb */ color: rgb(137, 79, 197); /* oklch */ color: oklch(55.1% 0.179 303.7);
Tailwind
colors: {
custom: {
50: '#af83d7',
500: '#894fc5',
950: '#000000',
},
}SCSS
$custom: #894fc5; $custom-light: #af83d7; $custom-dark: #000000;
JSON
{
"hex": "#894fc5",
"rgb": {
"r": 137,
"g": 79,
"b": 197
},
"hsl": {
"h": 269.492,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.55079,
"c": 0.17908,
"h": 303.7
},
"luminance": 0.14942
}Semantic roles & 50–950 ramp
primary
#894FC5
secondary
#B8D19F
accent
#DA4E95
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83