#8941B7#8941B7
#8941B7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.184 H 309.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8941B7 |
|---|---|
| RGB | rgb(137, 65, 183) |
| HSL | hsl(277, 48%, 49%) |
| HSV | hsv(277, 64%, 72%) |
| CMYK | cmyk(25.1%, 64.5%, 0%, 28.2%) |
| CIE-LAB | lab(42.03, 50.96, -50.15) |
| CIE-LCH | lch(42.03, 71.49, 315.46°) |
| OKLab | oklab(52.24% 0.1169 -0.1416) |
| OKLCH | oklch(52.24% 0.184 309.5) |
| XYZ | xyz(20.7524, 12.5182, 46.1136) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.38
Darkorchid
#9932CC
ΔE00 4.04
Royal Purple
#7851A9
ΔE00 5.43
Blueviolet
#8A2BE2
ΔE00 6.66
Medium Purple
#9E43A2
ΔE00 6.91
Barney
#AC1DB8
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8941B7 #6FB741
analogous
#4E41B7 #8941B7 #B741AA
triadic
#8941B7 #B78941 #41B789
tetradic
#8941B7 #B74E41 #6FB741 #41AAB7
square
#8941B7 #B74E41 #6FB741 #41AAB7
split-complementary
#8941B7 #AAB741 #41B74E
monochromatic
#45215D #67318A #8941B7 #A56BCA #C198DA
Accessibility & contrast
On white
5.99
#8941B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8941B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8941B7
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8941B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8941B7 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#835976
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8941b7; /* rgb */ color: rgb(137, 65, 183); /* oklch */ color: oklch(52.2% 0.184 309.5);
Tailwind
colors: {
custom: {
50: '#af7acd',
500: '#8941b7',
950: '#000000',
},
}SCSS
$custom: #8941b7; $custom-light: #af7acd; $custom-dark: #000000;
JSON
{
"hex": "#8941b7",
"rgb": {
"r": 137,
"g": 65,
"b": 183
},
"hsl": {
"h": 276.61,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.52236,
"c": 0.18357,
"h": 309.5
},
"luminance": 0.12518
}Semantic roles & 50–950 ramp
primary
#8941B7
secondary
#A4C68E
accent
#D75185
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82