#893EBB#893EBB
#893EBB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.192 H 308.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #893EBB |
|---|---|
| RGB | rgb(137, 62, 187) |
| HSL | hsl(276, 50%, 49%) |
| HSV | hsv(276, 67%, 73%) |
| CMYK | cmyk(26.7%, 66.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.77, 53.30, -52.91) |
| CIE-LCH | lch(41.77, 75.10, 315.21°) |
| OKLab | oklab(52.13% 0.12 -0.1496) |
| OKLCH | oklch(52.13% 0.192 308.7) |
| XYZ | xyz(21.0070, 12.3518, 48.2816) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.46
Purply
#983FB2
ΔE00 3.85
Blueviolet
#8A2BE2
ΔE00 5.82
Royal Purple
#7851A9
ΔE00 6.05
Darkviolet
#9400D3
ΔE00 6.12
Barney
#AC1DB8
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893EBB #70BB3E
analogous
#4B3EBB #893EBB #BB3EAF
triadic
#893EBB #BB893E #3EBB89
tetradic
#893EBB #BB4B3E #70BB3E #3EAFBB
square
#893EBB #BB4B3E #70BB3E #3EAFBB
split-complementary
#893EBB #AFBB3E #3EBB4B
monochromatic
#46205F #672F8D #893EBB #A569CD #C197DC
Accessibility & contrast
On white
6.05
#893EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#893EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893EBB
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893EBB | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2763B8
Tritanopia (blue-blind)
#825877
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #893ebb; /* rgb */ color: rgb(137, 62, 187); /* oklch */ color: oklch(52.1% 0.192 308.7);
Tailwind
colors: {
custom: {
50: '#af79d0',
500: '#893ebb',
950: '#000000',
},
}SCSS
$custom: #893ebb; $custom-light: #af79d0; $custom-dark: #000000;
JSON
{
"hex": "#893ebb",
"rgb": {
"r": 137,
"g": 62,
"b": 187
},
"hsl": {
"h": 276,
"s": 50.201,
"l": 48.824
},
"oklch": {
"l": 0.52134,
"c": 0.19185,
"h": 308.7
},
"luminance": 0.12351
}Semantic roles & 50–950 ramp
primary
#893EBB
secondary
#A4C88D
accent
#DA4E86
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82