#891FC2#891FC2
#891FC2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.8% C 0.231 H 309.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #891FC2 |
|---|---|
| RGB | rgb(137, 31, 194) |
| HSL | hsl(279, 72%, 44%) |
| HSV | hsv(279, 84%, 76%) |
| CMYK | cmyk(29.4%, 84%, 0%, 23.9%) |
| CIE-LAB | lab(38.19, 66.49, -62.82) |
| CIE-LCH | lch(38.19, 91.47, 316.63°) |
| OKLab | oklab(49.77% 0.1462 -0.1786) |
| OKLCH | oklch(49.77% 0.231 309.3) |
| XYZ | xyz(20.5421, 10.1938, 51.9139) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 2.61
Darkorchid
#9932CC
ΔE00 4.68
Blueviolet
#8A2BE2
ΔE00 4.98
Violet (survey)
#9A0EEA
ΔE00 5.64
Purple (survey)
#7E1E9C
ΔE00 5.84
Vibrant Purple
#AD03DE
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#891FC2 #58C21F
analogous
#371FC2 #891FC2 #C21FAA
triadic
#891FC2 #C2891F #1FC289
tetradic
#891FC2 #C2371F #58C21F #1FAAC2
square
#891FC2 #C2371F #58C21F #1FAAC2
split-complementary
#891FC2 #AAC21F #1FC237
monochromatic
#3E0E58 #64178D #891FC2 #A73EE0 #BF73E9
Accessibility & contrast
On white
6.91
#891FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#891FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #891FC2
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##891FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##891FC2 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#804C74
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #891fc2; /* rgb */ color: rgb(137, 31, 194); /* oklch */ color: oklch(49.8% 0.231 309.3);
Tailwind
colors: {
custom: {
50: '#b16bd5',
500: '#891fc2',
950: '#000000',
},
}SCSS
$custom: #891fc2; $custom-light: #b16bd5; $custom-dark: #000000;
JSON
{
"hex": "#891fc2",
"rgb": {
"r": 137,
"g": 31,
"b": 194
},
"hsl": {
"h": 279.018,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.49765,
"c": 0.23077,
"h": 309.3
},
"luminance": 0.10193
}Semantic roles & 50–950 ramp
primary
#891FC2
secondary
#90CF6D
accent
#EF3978
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120714
muted
#817A83