#893EB4#893EB4
#893EB4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.185 H 310.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #893EB4 |
|---|---|
| RGB | rgb(137, 62, 180) |
| HSL | hsl(278, 49%, 47%) |
| HSV | hsv(278, 66%, 71%) |
| CMYK | cmyk(23.9%, 65.6%, 0%, 29.4%) |
| CIE-LAB | lab(41.31, 51.73, -49.53) |
| CIE-LCH | lch(41.31, 71.62, 316.24°) |
| OKLab | oklab(51.66% 0.1206 -0.1398) |
| OKLCH | oklch(51.66% 0.185 310.8) |
| XYZ | xyz(20.2758, 12.0594, 44.4307) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.26
Darkorchid
#9932CC
ΔE00 4.17
Royal Purple
#7851A9
ΔE00 5.80
Barney
#AC1DB8
ΔE00 6.58
Darkviolet
#9400D3
ΔE00 6.68
Medium Purple
#9E43A2
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893EB4 #69B43E
analogous
#4E3EB4 #893EB4 #B43EA4
triadic
#893EB4 #B4893E #3EB489
tetradic
#893EB4 #B44E3E #69B43E #3EA4B4
square
#893EB4 #B44E3E #69B43E #3EA4B4
split-complementary
#893EB4 #A4B43E #3EB44E
monochromatic
#441F59 #662E86 #893EB4 #A565CA #C093DA
Accessibility & contrast
On white
6.16
#893EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#893EB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893EB4
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893EB4 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#3063B1
Tritanopia (blue-blind)
#835674
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #893eb4; /* rgb */ color: rgb(137, 62, 180); /* oklch */ color: oklch(51.7% 0.185 310.8);
Tailwind
colors: {
custom: {
50: '#af78cb',
500: '#893eb4',
950: '#000000',
},
}SCSS
$custom: #893eb4; $custom-light: #af78cb; $custom-dark: #000000;
JSON
{
"hex": "#893eb4",
"rgb": {
"r": 137,
"g": 62,
"b": 180
},
"hsl": {
"h": 278.136,
"s": 48.76,
"l": 47.451
},
"oklch": {
"l": 0.51656,
"c": 0.18457,
"h": 310.8
},
"luminance": 0.12059
}Semantic roles & 50–950 ramp
primary
#893EB4
secondary
#9FC589
accent
#D84F81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82