#893EBA#893EBA
#893EBA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.191 H 309.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #893EBA |
|---|---|
| RGB | rgb(137, 62, 186) |
| HSL | hsl(276, 50%, 49%) |
| HSV | hsv(276, 67%, 73%) |
| CMYK | cmyk(26.3%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(41.70, 53.07, -52.43) |
| CIE-LCH | lch(41.70, 74.60, 315.35°) |
| OKLab | oklab(52.07% 0.1201 -0.1482) |
| OKLCH | oklch(52.07% 0.191 309) |
| XYZ | xyz(20.9003, 12.3092, 47.7197) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.55
Purply
#983FB2
ΔE00 3.75
Blueviolet
#8A2BE2
ΔE00 5.97
Royal Purple
#7851A9
ΔE00 6.00
Darkviolet
#9400D3
ΔE00 6.19
Barney
#AC1DB8
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893EBA #6FBA3E
analogous
#4B3EBA #893EBA #BA3EAD
triadic
#893EBA #BA893E #3EBA89
tetradic
#893EBA #BA4B3E #6FBA3E #3EADBA
square
#893EBA #BA4B3E #6FBA3E #3EADBA
split-complementary
#893EBA #ADBA3E #3EBA4B
monochromatic
#451F5E #672F8C #893EBA #A568CD #C196DC
Accessibility & contrast
On white
6.07
#893EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#893EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893EBA
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893EBA | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#2863B7
Tritanopia (blue-blind)
#825877
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #893eba; /* rgb */ color: rgb(137, 62, 186); /* oklch */ color: oklch(52.1% 0.191 309.0);
Tailwind
colors: {
custom: {
50: '#af79cf',
500: '#893eba',
950: '#000000',
},
}SCSS
$custom: #893eba; $custom-light: #af79cf; $custom-dark: #000000;
JSON
{
"hex": "#893eba",
"rgb": {
"r": 137,
"g": 62,
"b": 186
},
"hsl": {
"h": 276.29,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.52065,
"c": 0.19081,
"h": 309
},
"luminance": 0.12309
}Semantic roles & 50–950 ramp
primary
#893EBA
secondary
#A4C88C
accent
#DA4E85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82