#894DC7#894DC7
#894DC7 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.184 H 303.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #894DC7 |
|---|---|
| RGB | rgb(137, 77, 199) |
| HSL | hsl(270, 52%, 54%) |
| HSV | hsv(270, 61%, 78%) |
| CMYK | cmyk(31.2%, 61.3%, 0%, 22%) |
| CIE-LAB | lab(45.29, 48.64, -54.23) |
| CIE-LCH | lch(45.29, 72.85, 311.89°) |
| OKLab | oklab(54.93% 0.1018 -0.1536) |
| OKLCH | oklch(54.93% 0.184 303.5) |
| XYZ | xyz(23.2769, 14.7497, 55.6424) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.19
Purpley
#8756E4
ΔE00 5.20
Royal Purple
#7851A9
ΔE00 5.57
Deep Lavender
#8D5EB7
ΔE00 5.74
Purply
#983FB2
ΔE00 5.83
Blueviolet
#8A2BE2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894DC7 #8BC74D
analogous
#4D4EC7 #894DC7 #C64DC7
triadic
#894DC7 #C7894D #4DC789
tetradic
#894DC7 #C74D4E #8BC74D #4DC7C6
square
#894DC7 #C74D4E #8BC74D #4DC7C6
split-complementary
#894DC7 #C7C64D #4EC74D
monochromatic
#4C2575 #6A33A3 #894DC7 #A87CD6 #C7AAE4
Accessibility & contrast
On white
5.32
#894DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#894DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894DC7
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894DC7 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#2C6BC4
Tritanopia (blue-blind)
#7D6683
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #894dc7; /* rgb */ color: rgb(137, 77, 199); /* oklch */ color: oklch(54.9% 0.184 303.5);
Tailwind
colors: {
custom: {
50: '#af82d9',
500: '#894dc7',
950: '#000000',
},
}SCSS
$custom: #894dc7; $custom-light: #af82d9; $custom-dark: #000000;
JSON
{
"hex": "#894dc7",
"rgb": {
"r": 137,
"g": 77,
"b": 199
},
"hsl": {
"h": 269.508,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.54927,
"c": 0.18425,
"h": 303.5
},
"luminance": 0.1475
}Semantic roles & 50–950 ramp
primary
#894DC7
secondary
#B8D29E
accent
#DC4C95
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83