#893CB3#893CB3
#893CB3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.186 H 311.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #893CB3 |
|---|---|
| RGB | rgb(137, 60, 179) |
| HSL | hsl(279, 50%, 47%) |
| HSV | hsv(279, 66%, 70%) |
| CMYK | cmyk(23.5%, 66.5%, 0%, 29.8%) |
| CIE-LAB | lab(40.90, 52.45, -49.60) |
| CIE-LCH | lch(40.90, 72.19, 316.60°) |
| OKLab | oklab(51.34% 0.1229 -0.1399) |
| OKLCH | oklch(51.34% 0.186 311.3) |
| XYZ | xyz(20.0676, 11.8052, 43.8606) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.34
Darkorchid
#9932CC
ΔE00 4.21
Royal Purple
#7851A9
ΔE00 6.11
Barney
#AC1DB8
ΔE00 6.42
Darkviolet
#9400D3
ΔE00 6.47
Purple (survey)
#7E1E9C
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893CB3 #66B33C
analogous
#4E3CB3 #893CB3 #B33CA2
triadic
#893CB3 #B3893C #3CB389
tetradic
#893CB3 #B34E3C #66B33C #3CA2B3
square
#893CB3 #B34E3C #66B33C #3CA2B3
split-complementary
#893CB3 #A2B33C #3CB34E
monochromatic
#431D57 #662D85 #893CB3 #A562CA #C090DA
Accessibility & contrast
On white
6.25
#893CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#893CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893CB3
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893CB3 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#2F62B0
Tritanopia (blue-blind)
#845472
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893cb3; /* rgb */ color: rgb(137, 60, 179); /* oklch */ color: oklch(51.3% 0.186 311.3);
Tailwind
colors: {
custom: {
50: '#af77ca',
500: '#893cb3',
950: '#000000',
},
}SCSS
$custom: #893cb3; $custom-light: #af77ca; $custom-dark: #000000;
JSON
{
"hex": "#893cb3",
"rgb": {
"r": 137,
"g": 60,
"b": 179
},
"hsl": {
"h": 278.824,
"s": 49.791,
"l": 46.863
},
"oklch": {
"l": 0.51344,
"c": 0.18626,
"h": 311.3
},
"luminance": 0.11805
}Semantic roles & 50–950 ramp
primary
#893CB3
secondary
#9CC586
accent
#D94E7F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82