#894FAC#894FAC
#894FAC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.150 H 311.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #894FAC |
|---|---|
| RGB | rgb(137, 79, 172) |
| HSL | hsl(277, 37%, 49%) |
| HSV | hsv(277, 54%, 67%) |
| CMYK | cmyk(20.3%, 54.1%, 0%, 32.5%) |
| CIE-LAB | lab(44.07, 41.19, -40.40) |
| CIE-LCH | lch(44.07, 57.70, 315.56°) |
| OKLab | oklab(53.52% 0.0988 -0.1131) |
| OKLCH | oklch(53.52% 0.15 311.1) |
| XYZ | xyz(20.5575, 13.8893, 40.6197) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.71
Purply
#983FB2
ΔE00 4.29
Deep Lavender
#8D5EB7
ΔE00 4.61
Medium Purple
#9E43A2
ΔE00 5.74
Amethyst
#9B5FC0
ΔE00 6.45
Ugly Purple
#A442A0
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894FAC #72AC4F
analogous
#5A4FAC #894FAC #AC4FA1
triadic
#894FAC #AC894F #4FAC89
tetradic
#894FAC #AC5A4F #72AC4F #4FA1AC
square
#894FAC #AC5A4F #72AC4F #4FA1AC
split-complementary
#894FAC #A1AC4F #4FAC5A
monochromatic
#462858 #683C82 #894FAC #A577C1 #C1A1D4
Accessibility & contrast
On white
5.56
#894FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#894FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894FAC
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894FAC | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#4869AA
Tritanopia (blue-blind)
#855F76
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #894fac; /* rgb */ color: rgb(137, 79, 172); /* oklch */ color: oklch(53.5% 0.150 311.1);
Tailwind
colors: {
custom: {
50: '#ae82c5',
500: '#894fac',
950: '#000000',
},
}SCSS
$custom: #894fac; $custom-light: #ae82c5; $custom-dark: #000000;
JSON
{
"hex": "#894fac",
"rgb": {
"r": 137,
"g": 79,
"b": 172
},
"hsl": {
"h": 277.419,
"s": 37.052,
"l": 49.216
},
"oklch": {
"l": 0.53516,
"c": 0.15015,
"h": 311.1
},
"luminance": 0.13889
}Semantic roles & 50–950 ramp
primary
#894FAC
secondary
#A6C196
accent
#CD5B86
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100B13
muted
#7F7C82