#894FD5#894FD5
#894FD5 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.197 H 300.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #894FD5 |
|---|---|
| RGB | rgb(137, 79, 213) |
| HSL | hsl(266, 61%, 57%) |
| HSV | hsv(266, 63%, 84%) |
| CMYK | cmyk(35.7%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(46.60, 51.05, -60.17) |
| CIE-LCH | lch(46.60, 78.91, 310.31°) |
| OKLab | oklab(56.17% 0.0987 -0.1711) |
| OKLCH | oklch(56.17% 0.197 300) |
| XYZ | xyz(25.1198, 15.7142, 64.6476) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.03
Lightish Purple
#A552E6
ΔE00 5.76
Light Indigo
#6D5ACF
ΔE00 5.98
Darkorchid
#9932CC
ΔE00 6.09
Blueviolet
#8A2BE2
ΔE00 6.37
Slate Blue
#6A5ACD
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894FD5 #9BD54F
analogous
#4F58D5 #894FD5 #CC4FD5
triadic
#894FD5 #D5894F #4FD589
tetradic
#894FD5 #D54F58 #9BD54F #4FD5CC
square
#894FD5 #D54F58 #9BD54F #4FD5CC
split-complementary
#894FD5 #D5CC4F #58D54F
monochromatic
#4E2189 #6A2CBA #894FD5 #AA80E1 #CBB2ED
Accessibility & contrast
On white
5.07
#894FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#894FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894FD5
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894FD5 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#156DD2
Tritanopia (blue-blind)
#786C8B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #894fd5; /* rgb */ color: rgb(137, 79, 213); /* oklch */ color: oklch(56.2% 0.197 300.0);
Tailwind
colors: {
custom: {
50: '#b083e3',
500: '#894fd5',
950: '#000000',
},
}SCSS
$custom: #894fd5; $custom-light: #b083e3; $custom-dark: #000000;
JSON
{
"hex": "#894fd5",
"rgb": {
"r": 137,
"g": 79,
"b": 213
},
"hsl": {
"h": 265.97,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.56169,
"c": 0.19747,
"h": 300
},
"luminance": 0.15714
}Semantic roles & 50–950 ramp
primary
#894FD5
secondary
#C4DBA5
accent
#E5439F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84