#8341B5#8341B5
#8341B5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.180 H 307.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8341B5 |
|---|---|
| RGB | rgb(131, 65, 181) |
| HSL | hsl(274, 47%, 48%) |
| HSV | hsv(274, 64%, 71%) |
| CMYK | cmyk(27.6%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(41.12, 49.12, -50.46) |
| CIE-LCH | lch(41.12, 70.42, 314.23°) |
| OKLab | oklab(51.38% 0.1091 -0.1427) |
| OKLCH | oklch(51.38% 0.18 307.4) |
| XYZ | xyz(19.5891, 11.9423, 44.9802) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.42
Darkorchid
#9932CC
ΔE00 4.81
Royal Purple
#7851A9
ΔE00 4.94
Blueviolet
#8A2BE2
ΔE00 6.73
Darkviolet
#9400D3
ΔE00 7.10
Bluey Purple
#6241C7
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8341B5 #73B541
analogous
#4941B5 #8341B5 #B541AD
triadic
#8341B5 #B58341 #41B583
tetradic
#8341B5 #B54941 #73B541 #41ADB5
square
#8341B5 #B54941 #73B541 #41ADB5
split-complementary
#8341B5 #ADB541 #41B549
monochromatic
#42215B #623188 #8341B5 #A06AC9 #BD97DA
Accessibility & contrast
On white
6.20
#8341B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#8341B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8341B5
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8341B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8341B5 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#2A62B2
Tritanopia (blue-blind)
#7B5975
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8341b5; /* rgb */ color: rgb(131, 65, 181); /* oklch */ color: oklch(51.4% 0.180 307.4);
Tailwind
colors: {
custom: {
50: '#ab7acc',
500: '#8341b5',
950: '#000000',
},
}SCSS
$custom: #8341b5; $custom-light: #ab7acc; $custom-dark: #000000;
JSON
{
"hex": "#8341b5",
"rgb": {
"r": 131,
"g": 65,
"b": 181
},
"hsl": {
"h": 274.138,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.51375,
"c": 0.17959,
"h": 307.4
},
"luminance": 0.11942
}Semantic roles & 50–950 ramp
primary
#8341B5
secondary
#A5C58C
accent
#D7518B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82