#8041B7#8041B7
#8041B7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.181 H 305.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8041B7 |
|---|---|
| RGB | rgb(128, 65, 183) |
| HSL | hsl(272, 48%, 49%) |
| HSV | hsv(272, 64%, 72%) |
| CMYK | cmyk(30.1%, 64.5%, 0%, 28.2%) |
| CIE-LAB | lab(40.88, 48.91, -52.06) |
| CIE-LCH | lch(40.88, 71.43, 313.22°) |
| OKLab | oklab(51.16% 0.1049 -0.1475) |
| OKLCH | oklch(51.16% 0.181 305.4) |
| XYZ | xyz(19.3378, 11.7888, 46.0473) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.95
Darkorchid
#9932CC
ΔE00 5.04
Purply
#983FB2
ΔE00 5.15
Bluey Purple
#6241C7
ΔE00 6.37
Blueviolet
#8A2BE2
ΔE00 6.41
Rebeccapurple
#663399
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8041B7 #78B741
analogous
#4541B7 #8041B7 #B741B3
triadic
#8041B7 #B78041 #41B780
tetradic
#8041B7 #B74541 #78B741 #41B3B7
square
#8041B7 #B74541 #78B741 #41B3B7
split-complementary
#8041B7 #B3B741 #41B745
monochromatic
#41215D #60318A #8041B7 #9E6BCA #BB98DA
Accessibility & contrast
On white
6.25
#8041B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8041B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8041B7
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8041B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8041B7 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#2361B4
Tritanopia (blue-blind)
#765A76
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8041b7; /* rgb */ color: rgb(128, 65, 183); /* oklch */ color: oklch(51.2% 0.181 305.4);
Tailwind
colors: {
custom: {
50: '#a979cd',
500: '#8041b7',
950: '#000000',
},
}SCSS
$custom: #8041b7; $custom-light: #a979cd; $custom-dark: #000000;
JSON
{
"hex": "#8041b7",
"rgb": {
"r": 128,
"g": 65,
"b": 183
},
"hsl": {
"h": 272.034,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.51157,
"c": 0.18098,
"h": 305.4
},
"luminance": 0.11789
}Semantic roles & 50–950 ramp
primary
#8041B7
secondary
#A8C68E
accent
#D7518F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82