#8941B5#8941B5
#8941B5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.181 H 310.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8941B5 |
|---|---|
| RGB | rgb(137, 65, 181) |
| HSL | hsl(277, 47%, 48%) |
| HSV | hsv(277, 64%, 71%) |
| CMYK | cmyk(24.3%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(41.90, 50.51, -49.17) |
| CIE-LCH | lch(41.90, 70.49, 315.76°) |
| OKLab | oklab(52.1% 0.117 -0.1387) |
| OKLCH | oklch(52.1% 0.181 310.1) |
| XYZ | xyz(20.5457, 12.4356, 45.0251) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.22
Darkorchid
#9932CC
ΔE00 4.25
Royal Purple
#7851A9
ΔE00 5.36
Medium Purple
#9E43A2
ΔE00 6.67
Barney
#AC1DB8
ΔE00 6.85
Blueviolet
#8A2BE2
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8941B5 #6DB541
analogous
#4F41B5 #8941B5 #B541A7
triadic
#8941B5 #B58941 #41B589
tetradic
#8941B5 #B54F41 #6DB541 #41A7B5
square
#8941B5 #B54F41 #6DB541 #41A7B5
split-complementary
#8941B5 #A7B541 #41B54F
monochromatic
#45215B #673188 #8941B5 #A56AC9 #C097DA
Accessibility & contrast
On white
6.02
#8941B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#8941B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8941B5
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8941B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8941B5 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#3264B2
Tritanopia (blue-blind)
#835875
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8941b5; /* rgb */ color: rgb(137, 65, 181); /* oklch */ color: oklch(52.1% 0.181 310.1);
Tailwind
colors: {
custom: {
50: '#af7acc',
500: '#8941b5',
950: '#000000',
},
}SCSS
$custom: #8941b5; $custom-light: #af7acc; $custom-dark: #000000;
JSON
{
"hex": "#8941b5",
"rgb": {
"r": 137,
"g": 65,
"b": 181
},
"hsl": {
"h": 277.241,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.52102,
"c": 0.18145,
"h": 310.1
},
"luminance": 0.12435
}Semantic roles & 50–950 ramp
primary
#8941B5
secondary
#A2C58C
accent
#D75184
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82