#894FC2#894FC2
#894FC2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.176 H 304.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #894FC2 |
|---|---|
| RGB | rgb(137, 79, 194) |
| HSL | hsl(270, 49%, 54%) |
| HSV | hsv(270, 59%, 76%) |
| CMYK | cmyk(29.4%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.37, 46.38, -51.21) |
| CIE-LCH | lch(45.37, 69.09, 312.17°) |
| OKLab | oklab(54.88% 0.0995 -0.1447) |
| OKLCH | oklch(54.88% 0.176 304.5) |
| XYZ | xyz(22.8480, 14.8055, 52.6825) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.92
Deep Lavender
#8D5EB7
ΔE00 4.93
Purply
#983FB2
ΔE00 5.53
Darkorchid
#9932CC
ΔE00 5.64
Purpley
#8756E4
ΔE00 5.75
Amethyst
#9B5FC0
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894FC2 #88C24F
analogous
#4F4FC2 #894FC2 #C24FC1
triadic
#894FC2 #C2894F #4FC289
tetradic
#894FC2 #C24F4F #88C24F #4FC1C2
square
#894FC2 #C24F4F #88C24F #4FC1C2
split-complementary
#894FC2 #C1C24F #4FC24F
monochromatic
#4C2770 #6A379D #894FC2 #A77CD2 #C6AAE2
Accessibility & contrast
On white
5.30
#894FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#894FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894FC2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894FC2 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196AC6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#7F6681
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #894fc2; /* rgb */ color: rgb(137, 79, 194); /* oklch */ color: oklch(54.9% 0.176 304.5);
Tailwind
colors: {
custom: {
50: '#af83d5',
500: '#894fc2',
950: '#000000',
},
}SCSS
$custom: #894fc2; $custom-light: #af83d5; $custom-dark: #000000;
JSON
{
"hex": "#894fc2",
"rgb": {
"r": 137,
"g": 79,
"b": 194
},
"hsl": {
"h": 270.261,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.54882,
"c": 0.1756,
"h": 304.5
},
"luminance": 0.14805
}Semantic roles & 50–950 ramp
primary
#894FC2
secondary
#B6CF9E
accent
#D85093
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83