#894EC2#894EC2
#894EC2 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.177 H 304.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #894EC2 |
|---|---|
| RGB | rgb(137, 78, 194) |
| HSL | hsl(271, 49%, 53%) |
| HSV | hsv(271, 60%, 76%) |
| CMYK | cmyk(29.4%, 59.8%, 0%, 23.9%) |
| CIE-LAB | lab(45.17, 46.91, -51.53) |
| CIE-LCH | lch(45.17, 69.68, 312.31°) |
| OKLab | oklab(54.74% 0.1007 -0.1457) |
| OKLCH | oklch(54.74% 0.177 304.7) |
| XYZ | xyz(22.7764, 14.6623, 52.6587) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.95
Deep Lavender
#8D5EB7
ΔE00 5.15
Purply
#983FB2
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 5.43
Purpley
#8756E4
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894EC2 #87C24E
analogous
#4F4EC2 #894EC2 #C24EC1
triadic
#894EC2 #C2894E #4EC289
tetradic
#894EC2 #C24F4E #87C24E #4EC1C2
square
#894EC2 #C24F4E #87C24E #4EC1C2
split-complementary
#894EC2 #C1C24E #4EC24F
monochromatic
#4B266F #6A369D #894EC2 #A77CD2 #C6A9E1
Accessibility & contrast
On white
5.34
#894EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#894EC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894EC2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894EC2 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#346BBF
Tritanopia (blue-blind)
#7F6581
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #894ec2; /* rgb */ color: rgb(137, 78, 194); /* oklch */ color: oklch(54.7% 0.177 304.7);
Tailwind
colors: {
custom: {
50: '#af82d5',
500: '#894ec2',
950: '#000000',
},
}SCSS
$custom: #894ec2; $custom-light: #af82d5; $custom-dark: #000000;
JSON
{
"hex": "#894ec2",
"rgb": {
"r": 137,
"g": 78,
"b": 194
},
"hsl": {
"h": 270.517,
"s": 48.739,
"l": 53.333
},
"oklch": {
"l": 0.54737,
"c": 0.17708,
"h": 304.7
},
"luminance": 0.14662
}Semantic roles & 50–950 ramp
primary
#894EC2
secondary
#B5CF9D
accent
#D85093
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83