#8941B3#8941B3
#8941B3 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.179 H 310.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8941B3 |
|---|---|
| RGB | rgb(137, 65, 179) |
| HSL | hsl(278, 47%, 48%) |
| HSV | hsv(278, 64%, 70%) |
| CMYK | cmyk(23.5%, 63.7%, 0%, 29.8%) |
| CIE-LAB | lab(41.77, 50.06, -48.20) |
| CIE-LCH | lch(41.77, 69.49, 316.08°) |
| OKLab | oklab(51.97% 0.1171 -0.1358) |
| OKLCH | oklch(51.97% 0.179 310.8) |
| XYZ | xyz(20.3420, 12.3541, 43.9521) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.08
Darkorchid
#9932CC
ΔE00 4.47
Royal Purple
#7851A9
ΔE00 5.31
Medium Purple
#9E43A2
ΔE00 6.43
Barney
#AC1DB8
ΔE00 6.79
Blueviolet
#8A2BE2
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8941B3 #6BB341
analogous
#5041B3 #8941B3 #B341A4
triadic
#8941B3 #B38941 #41B389
tetradic
#8941B3 #B35041 #6BB341 #41A4B3
square
#8941B3 #B35041 #6BB341 #41A4B3
split-complementary
#8941B3 #A4B341 #41B350
monochromatic
#442059 #673186 #8941B3 #A569C8 #C096D9
Accessibility & contrast
On white
6.05
#8941B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#8941B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8941B3
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8941B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8941B3 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#055FB7
Deuteranopia (green-blind)
#3464B0
Tritanopia (blue-blind)
#845774
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8941b3; /* rgb */ color: rgb(137, 65, 179); /* oklch */ color: oklch(52.0% 0.179 310.8);
Tailwind
colors: {
custom: {
50: '#af7aca',
500: '#8941b3',
950: '#000000',
},
}SCSS
$custom: #8941b3; $custom-light: #af7aca; $custom-dark: #000000;
JSON
{
"hex": "#8941b3",
"rgb": {
"r": 137,
"g": 65,
"b": 179
},
"hsl": {
"h": 277.895,
"s": 46.721,
"l": 47.843
},
"oklch": {
"l": 0.5197,
"c": 0.17933,
"h": 310.8
},
"luminance": 0.12354
}Semantic roles & 50–950 ramp
primary
#8941B3
secondary
#A0C48B
accent
#D65182
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82