#894EBF#894EBF
#894EBF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.174 H 305.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #894EBF |
|---|---|
| RGB | rgb(137, 78, 191) |
| HSL | hsl(271, 47%, 53%) |
| HSV | hsv(271, 59%, 75%) |
| CMYK | cmyk(28.3%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(44.98, 46.19, -50.08) |
| CIE-LCH | lch(44.98, 68.13, 312.68°) |
| OKLab | oklab(54.54% 0.1007 -0.1414) |
| OKLCH | oklch(54.54% 0.174 305.5) |
| XYZ | xyz(22.4429, 14.5289, 50.9021) |
| Luminance | 0.1453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 4.96
Purply
#983FB2
ΔE00 5.08
Darkorchid
#9932CC
ΔE00 5.51
Purpley
#8756E4
ΔE00 6.31
Amethyst
#9B5FC0
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894EBF #84BF4E
analogous
#504EBF #894EBF #BF4EBD
triadic
#894EBF #BF894E #4EBF89
tetradic
#894EBF #BF504E #84BF4E #4EBDBF
square
#894EBF #BF504E #84BF4E #4EBDBF
split-complementary
#894EBF #BDBF4E #4EBF50
monochromatic
#4B276C #6A3799 #894EBF #A77BCF #C5A8E0
Accessibility & contrast
On white
5.38
#894EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#894EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894EBF
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894EBF | 1.00 | 5.38 | 3.91 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#376BBC
Tritanopia (blue-blind)
#80647F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #894ebf; /* rgb */ color: rgb(137, 78, 191); /* oklch */ color: oklch(54.5% 0.174 305.5);
Tailwind
colors: {
custom: {
50: '#af82d3',
500: '#894ebf',
950: '#000000',
},
}SCSS
$custom: #894ebf; $custom-light: #af82d3; $custom-dark: #000000;
JSON
{
"hex": "#894ebf",
"rgb": {
"r": 137,
"g": 78,
"b": 191
},
"hsl": {
"h": 271.327,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.54541,
"c": 0.17363,
"h": 305.5
},
"luminance": 0.14529
}Semantic roles & 50–950 ramp
primary
#894EBF
secondary
#B3CD9C
accent
#D75191
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83