#894FC7#894FC7
#894FC7 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.181 H 303.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #894FC7 |
|---|---|
| RGB | rgb(137, 79, 199) |
| HSL | hsl(269, 52%, 55%) |
| HSV | hsv(269, 60%, 78%) |
| CMYK | cmyk(31.2%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(45.68, 47.59, -53.60) |
| CIE-LCH | lch(45.68, 71.68, 311.60°) |
| OKLab | oklab(55.21% 0.0994 -0.1517) |
| OKLCH | oklch(55.21% 0.181 303.2) |
| XYZ | xyz(23.4190, 15.0339, 55.6898) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.98
Deep Lavender
#8D5EB7
ΔE00 5.34
Royal Purple
#7851A9
ΔE00 5.52
Darkorchid
#9932CC
ΔE00 5.61
Purply
#983FB2
ΔE00 6.08
Amethyst
#9B5FC0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894FC7 #8DC74F
analogous
#4F51C7 #894FC7 #C54FC7
triadic
#894FC7 #C7894F #4FC789
tetradic
#894FC7 #C74F51 #8DC74F #4FC7C5
square
#894FC7 #C74F51 #8DC74F #4FC7C5
split-complementary
#894FC7 #C7C54F #51C74F
monochromatic
#4C2676 #6B34A4 #894FC7 #A87DD6 #C7ACE5
Accessibility & contrast
On white
5.24
#894FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#894FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894FC7
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894FC7 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B6BCB
Deuteranopia (green-blind)
#2F6CC4
Tritanopia (blue-blind)
#7D6883
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #894fc7; /* rgb */ color: rgb(137, 79, 199); /* oklch */ color: oklch(55.2% 0.181 303.2);
Tailwind
colors: {
custom: {
50: '#af83d9',
500: '#894fc7',
950: '#000000',
},
}SCSS
$custom: #894fc7; $custom-light: #af83d9; $custom-dark: #000000;
JSON
{
"hex": "#894fc7",
"rgb": {
"r": 137,
"g": 79,
"b": 199
},
"hsl": {
"h": 269,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.55211,
"c": 0.18138,
"h": 303.2
},
"luminance": 0.15034
}Semantic roles & 50–950 ramp
primary
#894FC7
secondary
#BAD2A0
accent
#DB4D96
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83