#8341C5#8341C5
#8341C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.197 H 303.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8341C5 |
|---|---|
| RGB | rgb(131, 65, 197) |
| HSL | hsl(270, 53%, 51%) |
| HSV | hsv(270, 67%, 77%) |
| CMYK | cmyk(33.5%, 67%, 0%, 22.7%) |
| CIE-LAB | lab(42.21, 52.92, -58.07) |
| CIE-LCH | lch(42.21, 78.56, 312.34°) |
| OKLab | oklab(52.5% 0.1077 -0.165) |
| OKLCH | oklch(52.5% 0.197 303.1) |
| XYZ | xyz(21.3261, 12.6371, 54.1282) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.10
Blueviolet
#8A2BE2
ΔE00 4.66
Purply
#983FB2
ΔE00 5.83
Bluish Purple
#703BE7
ΔE00 5.85
Bluey Purple
#6241C7
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8341C5 #83C541
analogous
#4141C5 #8341C5 #C541C5
triadic
#8341C5 #C58341 #41C583
tetradic
#8341C5 #C54141 #83C541 #41C5C5
square
#8341C5 #C54141 #83C541 #41C5C5
split-complementary
#8341C5 #C5C541 #41C541
monochromatic
#46216B #642F9A #8341C5 #A270D3 #C09FE2
Accessibility & contrast
On white
5.95
#8341C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8341C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8341C5
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8341C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8341C5 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0563C2
Tritanopia (blue-blind)
#765F7E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8341c5; /* rgb */ color: rgb(131, 65, 197); /* oklch */ color: oklch(52.5% 0.197 303.1);
Tailwind
colors: {
custom: {
50: '#ac7ad7',
500: '#8341c5',
950: '#000000',
},
}SCSS
$custom: #8341c5; $custom-light: #ac7ad7; $custom-dark: #000000;
JSON
{
"hex": "#8341c5",
"rgb": {
"r": 131,
"g": 65,
"b": 197
},
"hsl": {
"h": 270,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.52502,
"c": 0.19705,
"h": 303.1
},
"luminance": 0.12637
}Semantic roles & 50–950 ramp
primary
#8341C5
secondary
#B1CE94
accent
#DD4B94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83