#893FC1#893FC1
#893FC1 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.7% C 0.197 H 307.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #893FC1 |
|---|---|
| RGB | rgb(137, 63, 193) |
| HSL | hsl(274, 51%, 50%) |
| HSV | hsv(274, 67%, 76%) |
| CMYK | cmyk(29%, 67.4%, 0%, 24.3%) |
| CIE-LAB | lab(42.34, 54.19, -55.49) |
| CIE-LCH | lch(42.34, 77.56, 314.32°) |
| OKLab | oklab(52.67% 0.1184 -0.1572) |
| OKLCH | oklch(52.67% 0.197 307) |
| XYZ | xyz(21.7176, 12.7239, 51.7536) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.16
Purply
#983FB2
ΔE00 4.45
Blueviolet
#8A2BE2
ΔE00 5.08
Darkviolet
#9400D3
ΔE00 5.98
Royal Purple
#7851A9
ΔE00 6.27
Violet (survey)
#9A0EEA
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893FC1 #77C13F
analogous
#483FC1 #893FC1 #C13FB8
triadic
#893FC1 #C1893F #3FC189
tetradic
#893FC1 #C1483F #77C13F #3FB8C1
square
#893FC1 #C1483F #77C13F #3FB8C1
split-complementary
#893FC1 #B8C13F #3FC148
monochromatic
#482165 #683093 #893FC1 #A56DD0 #C29CDF
Accessibility & contrast
On white
5.92
#893FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#893FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893FC1
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893FC1 | 1.00 | 5.92 | 3.54 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#1E64BE
Tritanopia (blue-blind)
#805B7B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #893fc1; /* rgb */ color: rgb(137, 63, 193); /* oklch */ color: oklch(52.7% 0.197 307.0);
Tailwind
colors: {
custom: {
50: '#b079d4',
500: '#893fc1',
950: '#000000',
},
}SCSS
$custom: #893fc1; $custom-light: #b079d4; $custom-dark: #000000;
JSON
{
"hex": "#893fc1",
"rgb": {
"r": 137,
"g": 63,
"b": 193
},
"hsl": {
"h": 274.154,
"s": 51.181,
"l": 50.196
},
"oklch": {
"l": 0.52674,
"c": 0.1968,
"h": 307
},
"luminance": 0.12724
}Semantic roles & 50–950 ramp
primary
#893FC1
secondary
#AACB91
accent
#DB4D8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83