#893FB6#893FB6
#893FB6 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.185 H 310.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #893FB6 |
|---|---|
| RGB | rgb(137, 63, 182) |
| HSL | hsl(277, 49%, 48%) |
| HSV | hsv(277, 65%, 71%) |
| CMYK | cmyk(24.7%, 65.4%, 0%, 28.6%) |
| CIE-LAB | lab(41.61, 51.70, -50.23) |
| CIE-LCH | lch(41.61, 72.08, 315.83°) |
| OKLab | oklab(51.92% 0.1193 -0.1418) |
| OKLCH | oklch(51.92% 0.185 310.1) |
| XYZ | xyz(20.5359, 12.2512, 45.5298) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.36
Darkorchid
#9932CC
ΔE00 4.00
Royal Purple
#7851A9
ΔE00 5.70
Blueviolet
#8A2BE2
ΔE00 6.64
Darkviolet
#9400D3
ΔE00 6.67
Barney
#AC1DB8
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893FB6 #6CB63F
analogous
#4E3FB6 #893FB6 #B63FA7
triadic
#893FB6 #B6893F #3FB689
tetradic
#893FB6 #B64E3F #6CB63F #3FA7B6
square
#893FB6 #B64E3F #6CB63F #3FA7B6
split-complementary
#893FB6 #A7B63F #3FB64E
monochromatic
#45205B #672F89 #893FB6 #A568CB #C095DA
Accessibility & contrast
On white
6.09
#893FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#893FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893FB6
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893FB6 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#2F63B3
Tritanopia (blue-blind)
#835775
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #893fb6; /* rgb */ color: rgb(137, 63, 182); /* oklch */ color: oklch(51.9% 0.185 310.1);
Tailwind
colors: {
custom: {
50: '#af79cc',
500: '#893fb6',
950: '#000000',
},
}SCSS
$custom: #893fb6; $custom-light: #af79cc; $custom-dark: #000000;
JSON
{
"hex": "#893fb6",
"rgb": {
"r": 137,
"g": 63,
"b": 182
},
"hsl": {
"h": 277.311,
"s": 48.571,
"l": 48.039
},
"oklch": {
"l": 0.51916,
"c": 0.18528,
"h": 310.1
},
"luminance": 0.12251
}Semantic roles & 50–950 ramp
primary
#893FB6
secondary
#A1C68B
accent
#D85083
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82