#893EB8#893EB8
#893EB8 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.189 H 309.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #893EB8 |
|---|---|
| RGB | rgb(137, 62, 184) |
| HSL | hsl(277, 50%, 48%) |
| HSV | hsv(277, 66%, 72%) |
| CMYK | cmyk(25.5%, 66.3%, 0%, 27.8%) |
| CIE-LAB | lab(41.57, 52.62, -51.47) |
| CIE-LCH | lch(41.57, 73.61, 315.63°) |
| OKLab | oklab(51.93% 0.1203 -0.1454) |
| OKLCH | oklch(51.93% 0.189 309.6) |
| XYZ | xyz(20.6892, 12.2247, 46.6078) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.57
Darkorchid
#9932CC
ΔE00 3.74
Royal Purple
#7851A9
ΔE00 5.92
Blueviolet
#8A2BE2
ΔE00 6.26
Darkviolet
#9400D3
ΔE00 6.34
Barney
#AC1DB8
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893EB8 #6DB83E
analogous
#4C3EB8 #893EB8 #B83EAA
triadic
#893EB8 #B8893E #3EB889
tetradic
#893EB8 #B84C3E #6DB83E #3EAAB8
square
#893EB8 #B84C3E #6DB83E #3EAAB8
split-complementary
#893EB8 #AAB83E #3EB84C
monochromatic
#451F5C #672F8A #893EB8 #A567CC #C095DB
Accessibility & contrast
On white
6.10
#893EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#893EB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893EB8
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893EB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893EB8 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#2B63B5
Tritanopia (blue-blind)
#825776
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #893eb8; /* rgb */ color: rgb(137, 62, 184); /* oklch */ color: oklch(51.9% 0.189 309.6);
Tailwind
colors: {
custom: {
50: '#af78ce',
500: '#893eb8',
950: '#000000',
},
}SCSS
$custom: #893eb8; $custom-light: #af78ce; $custom-dark: #000000;
JSON
{
"hex": "#893eb8",
"rgb": {
"r": 137,
"g": 62,
"b": 184
},
"hsl": {
"h": 276.885,
"s": 49.593,
"l": 48.235
},
"oklch": {
"l": 0.51927,
"c": 0.18872,
"h": 309.6
},
"luminance": 0.12224
}Semantic roles & 50–950 ramp
primary
#893EB8
secondary
#A2C78B
accent
#D94F84
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82