#8941C5#8941C5
#8941C5 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.2% C 0.198 H 305.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8941C5 |
|---|---|
| RGB | rgb(137, 65, 197) |
| HSL | hsl(273, 53%, 51%) |
| HSV | hsv(273, 67%, 77%) |
| CMYK | cmyk(30.5%, 67%, 0%, 22.7%) |
| CIE-LAB | lab(42.96, 54.17, -56.83) |
| CIE-LCH | lch(42.96, 78.51, 313.63°) |
| OKLab | oklab(53.2% 0.1157 -0.1612) |
| OKLCH | oklch(53.2% 0.198 305.7) |
| XYZ | xyz(22.2827, 13.1304, 54.1730) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.24
Blueviolet
#8A2BE2
ΔE00 4.81
Purply
#983FB2
ΔE00 4.90
Darkviolet
#9400D3
ΔE00 6.24
Violet (survey)
#9A0EEA
ΔE00 6.34
Royal Purple
#7851A9
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8941C5 #7DC541
analogous
#4741C5 #8941C5 #C541BF
triadic
#8941C5 #C58941 #41C589
tetradic
#8941C5 #C54741 #7DC541 #41BFC5
square
#8941C5 #C54741 #7DC541 #41BFC5
split-complementary
#8941C5 #BFC541 #41C547
monochromatic
#49216B #692F9A #8941C5 #A670D3 #C39FE2
Accessibility & contrast
On white
5.79
#8941C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#8941C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8941C5
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8941C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8941C5 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#1A66C2
Tritanopia (blue-blind)
#7E5E7E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8941c5; /* rgb */ color: rgb(137, 65, 197); /* oklch */ color: oklch(53.2% 0.198 305.7);
Tailwind
colors: {
custom: {
50: '#b07bd7',
500: '#8941c5',
950: '#000000',
},
}SCSS
$custom: #8941c5; $custom-light: #b07bd7; $custom-dark: #000000;
JSON
{
"hex": "#8941c5",
"rgb": {
"r": 137,
"g": 65,
"b": 197
},
"hsl": {
"h": 272.727,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.53202,
"c": 0.19842,
"h": 305.7
},
"luminance": 0.1313
}Semantic roles & 50–950 ramp
primary
#8941C5
secondary
#AECE94
accent
#DD4B8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83