#893BB2#893BB2
#893BB2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.187 H 311.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #893BB2 |
|---|---|
| RGB | rgb(137, 59, 178) |
| HSL | hsl(279, 50%, 46%) |
| HSV | hsv(279, 67%, 70%) |
| CMYK | cmyk(23%, 66.9%, 0%, 30.2%) |
| CIE-LAB | lab(40.67, 52.70, -49.38) |
| CIE-LCH | lch(40.67, 72.22, 316.86°) |
| OKLab | oklab(51.16% 0.1242 -0.1393) |
| OKLCH | oklch(51.16% 0.187 311.7) |
| XYZ | xyz(19.9149, 11.6611, 43.3126) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.38
Darkorchid
#9932CC
ΔE00 4.31
Royal Purple
#7851A9
ΔE00 6.25
Barney
#AC1DB8
ΔE00 6.34
Purple (survey)
#7E1E9C
ΔE00 6.42
Darkviolet
#9400D3
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893BB2 #64B23B
analogous
#4E3BB2 #893BB2 #B23BA0
triadic
#893BB2 #B2893B #3BB289
tetradic
#893BB2 #B24E3B #64B23B #3BA0B2
square
#893BB2 #B24E3B #64B23B #3BA0B2
split-complementary
#893BB2 #A0B23B #3BB24E
monochromatic
#421D56 #662C84 #893BB2 #A660CA #BF8EDA
Accessibility & contrast
On white
6.30
#893BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#893BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893BB2
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893BB2 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#845372
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #893bb2; /* rgb */ color: rgb(137, 59, 178); /* oklch */ color: oklch(51.2% 0.187 311.7);
Tailwind
colors: {
custom: {
50: '#af77ca',
500: '#893bb2',
950: '#000000',
},
}SCSS
$custom: #893bb2; $custom-light: #af77ca; $custom-dark: #000000;
JSON
{
"hex": "#893bb2",
"rgb": {
"r": 137,
"g": 59,
"b": 178
},
"hsl": {
"h": 279.328,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.51156,
"c": 0.18658,
"h": 311.7
},
"luminance": 0.11661
}Semantic roles & 50–950 ramp
primary
#893BB2
secondary
#9AC485
accent
#DA4E7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82