#894BAF#894BAF
#894BAF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.160 H 310.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #894BAF |
|---|---|
| RGB | rgb(137, 75, 175) |
| HSL | hsl(277, 40%, 49%) |
| HSV | hsv(277, 57%, 69%) |
| CMYK | cmyk(21.7%, 57.1%, 0%, 31.4%) |
| CIE-LAB | lab(43.43, 44.03, -43.20) |
| CIE-LCH | lch(43.43, 61.68, 315.55°) |
| OKLab | oklab(53.1% 0.1043 -0.1212) |
| OKLCH | oklch(53.1% 0.16 310.7) |
| XYZ | xyz(20.5690, 13.4461, 42.0609) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.57
Royal Purple
#7851A9
ΔE00 3.91
Deep Lavender
#8D5EB7
ΔE00 5.45
Medium Purple
#9E43A2
ΔE00 5.83
Darkorchid
#9932CC
ΔE00 6.18
Amethyst
#9B5FC0
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#894BAF #71AF4B
analogous
#574BAF #894BAF #AF4BA3
triadic
#894BAF #AF894B #4BAF89
tetradic
#894BAF #AF574B #71AF4B #4BA3AF
square
#894BAF #AF574B #71AF4B #4BA3AF
split-complementary
#894BAF #A3AF4B #4BAF57
monochromatic
#462659 #673984 #894BAF #A574C3 #C19FD6
Accessibility & contrast
On white
5.69
#894BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#894BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #894BAF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##894BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##894BAF | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#4268AD
Tritanopia (blue-blind)
#845D76
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #894baf; /* rgb */ color: rgb(137, 75, 175); /* oklch */ color: oklch(53.1% 0.160 310.7);
Tailwind
colors: {
custom: {
50: '#ae80c7',
500: '#894baf',
950: '#000000',
},
}SCSS
$custom: #894baf; $custom-light: #ae80c7; $custom-dark: #000000;
JSON
{
"hex": "#894baf",
"rgb": {
"r": 137,
"g": 75,
"b": 175
},
"hsl": {
"h": 277.2,
"s": 40,
"l": 49.02
},
"oklch": {
"l": 0.53097,
"c": 0.15996,
"h": 310.7
},
"luminance": 0.13446
}Semantic roles & 50–950 ramp
primary
#894BAF
secondary
#A5C293
accent
#D05886
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82