#893BB3#893BB3
#893BB3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.188 H 311.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #893BB3 |
|---|---|
| RGB | rgb(137, 59, 179) |
| HSL | hsl(279, 50%, 47%) |
| HSV | hsv(279, 67%, 70%) |
| CMYK | cmyk(23.5%, 67%, 0%, 29.8%) |
| CIE-LAB | lab(40.74, 52.91, -49.86) |
| CIE-LCH | lch(40.74, 72.71, 316.70°) |
| OKLab | oklab(51.22% 0.1241 -0.1407) |
| OKLCH | oklch(51.22% 0.188 311.4) |
| XYZ | xyz(20.0157, 11.7015, 43.8433) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.43
Darkorchid
#9932CC
ΔE00 4.19
Royal Purple
#7851A9
ΔE00 6.26
Darkviolet
#9400D3
ΔE00 6.33
Barney
#AC1DB8
ΔE00 6.37
Purple (survey)
#7E1E9C
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893BB3 #65B33B
analogous
#4D3BB3 #893BB3 #B33BA1
triadic
#893BB3 #B3893B #3BB389
tetradic
#893BB3 #B34D3B #65B33B #3BA1B3
square
#893BB3 #B34D3B #65B33B #3BA1B3
split-complementary
#893BB3 #A1B33B #3BB34D
monochromatic
#431D57 #662C85 #893BB3 #A660CB #C08EDA
Accessibility & contrast
On white
6.29
#893BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#893BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893BB3
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893BB3 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#2D62B0
Tritanopia (blue-blind)
#845472
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893bb3; /* rgb */ color: rgb(137, 59, 179); /* oklch */ color: oklch(51.2% 0.188 311.4);
Tailwind
colors: {
custom: {
50: '#af77ca',
500: '#893bb3',
950: '#000000',
},
}SCSS
$custom: #893bb3; $custom-light: #af77ca; $custom-dark: #000000;
JSON
{
"hex": "#893bb3",
"rgb": {
"r": 137,
"g": 59,
"b": 179
},
"hsl": {
"h": 279,
"s": 50.42,
"l": 46.667
},
"oklch": {
"l": 0.51224,
"c": 0.1876,
"h": 311.4
},
"luminance": 0.11701
}Semantic roles & 50–950 ramp
primary
#893BB3
secondary
#9BC585
accent
#DA4E7F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82