#894DC2#894DC2
#894DC2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.179 H 304.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #894DC2 |
|---|---|
| RGB | rgb(137, 77, 194) |
| HSL | hsl(271, 49%, 53%) |
| HSV | hsv(271, 60%, 76%) |
| CMYK | cmyk(29.4%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(44.97, 47.44, -51.84) |
| CIE-LCH | lch(44.97, 70.27, 312.46°) |
| OKLab | oklab(54.59% 0.1019 -0.1466) |
| OKLCH | oklch(54.59% 0.179 304.8) |
| XYZ | xyz(22.7059, 14.5213, 52.6352) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.99
Darkorchid
#9932CC
ΔE00 5.22
Purply
#983FB2
ΔE00 5.26
Deep Lavender
#8D5EB7
ΔE00 5.37
Purpley
#8756E4
ΔE00 5.94
Amethyst
#9B5FC0
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894DC2 #86C24D
analogous
#4E4DC2 #894DC2 #C24DC1
triadic
#894DC2 #C2894D #4DC289
tetradic
#894DC2 #C24E4D #86C24D #4DC1C2
square
#894DC2 #C24E4D #86C24D #4DC1C2
split-complementary
#894DC2 #C1C24D #4DC24E
monochromatic
#4B266F #6A369C #894DC2 #A77BD2 #C5A8E1
Accessibility & contrast
On white
5.38
#894DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#894DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894DC2
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894DC2 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#7F6580
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #894dc2; /* rgb */ color: rgb(137, 77, 194); /* oklch */ color: oklch(54.6% 0.179 304.8);
Tailwind
colors: {
custom: {
50: '#af82d5',
500: '#894dc2',
950: '#000000',
},
}SCSS
$custom: #894dc2; $custom-light: #af82d5; $custom-dark: #000000;
JSON
{
"hex": "#894dc2",
"rgb": {
"r": 137,
"g": 77,
"b": 194
},
"hsl": {
"h": 270.769,
"s": 48.954,
"l": 53.137
},
"oklch": {
"l": 0.54594,
"c": 0.17855,
"h": 304.8
},
"luminance": 0.14521
}Semantic roles & 50–950 ramp
primary
#894DC2
secondary
#B5CF9C
accent
#D94F92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83