#894ED6#894ED6
#894ED6 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.200 H 299.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #894ED6 |
|---|---|
| RGB | rgb(137, 78, 214) |
| HSL | hsl(266, 62%, 57%) |
| HSV | hsv(266, 64%, 84%) |
| CMYK | cmyk(36%, 63.6%, 0%, 16.1%) |
| CIE-LAB | lab(46.47, 51.82, -60.94) |
| CIE-LCH | lch(46.47, 79.99, 310.38°) |
| OKLab | oklab(56.1% 0.0997 -0.1733) |
| OKLCH | oklch(56.1% 0.2 299.9) |
| XYZ | xyz(25.1755, 15.6220, 65.2943) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.07
Lightish Purple
#A552E6
ΔE00 5.80
Darkorchid
#9932CC
ΔE00 5.95
Light Indigo
#6D5ACF
ΔE00 6.07
Blueviolet
#8A2BE2
ΔE00 6.12
Bluish Purple
#703BE7
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894ED6 #9BD64E
analogous
#4E57D6 #894ED6 #CD4ED6
triadic
#894ED6 #D6894E #4ED689
tetradic
#894ED6 #D64E57 #9BD64E #4ED6CD
square
#894ED6 #D64E57 #9BD64E #4ED6CD
split-complementary
#894ED6 #D6CD4E #57D64E
monochromatic
#4E208A #6A2BBB #894ED6 #AA80E2 #CBB1ED
Accessibility & contrast
On white
5.09
#894ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#894ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894ED6
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894ED6 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#0D6DD3
Tritanopia (blue-blind)
#786C8B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #894ed6; /* rgb */ color: rgb(137, 78, 214); /* oklch */ color: oklch(56.1% 0.200 299.9);
Tailwind
colors: {
custom: {
50: '#b183e3',
500: '#894ed6',
950: '#000000',
},
}SCSS
$custom: #894ed6; $custom-light: #b183e3; $custom-dark: #000000;
JSON
{
"hex": "#894ed6",
"rgb": {
"r": 137,
"g": 78,
"b": 214
},
"hsl": {
"h": 266.029,
"s": 62.385,
"l": 57.255
},
"oklch": {
"l": 0.56102,
"c": 0.19995,
"h": 299.9
},
"luminance": 0.15622
}Semantic roles & 50–950 ramp
primary
#894ED6
secondary
#C4DBA4
accent
#E5429F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84