#8041C5#8041C5
#8041C5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.196 H 301.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8041C5 |
|---|---|
| RGB | rgb(128, 65, 197) |
| HSL | hsl(269, 53%, 51%) |
| HSV | hsv(269, 67%, 77%) |
| CMYK | cmyk(35%, 67%, 0%, 22.7%) |
| CIE-LAB | lab(41.85, 52.30, -58.68) |
| CIE-LCH | lch(41.85, 78.60, 311.71°) |
| OKLab | oklab(52.16% 0.1036 -0.1669) |
| OKLCH | oklch(52.16% 0.196 301.8) |
| XYZ | xyz(20.8680, 12.4009, 54.1067) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.57
Blueviolet
#8A2BE2
ΔE00 4.68
Bluey Purple
#6241C7
ΔE00 5.34
Bluish Purple
#703BE7
ΔE00 5.51
Royal Purple
#7851A9
ΔE00 6.13
Burple
#6832E3
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8041C5 #86C541
analogous
#4144C5 #8041C5 #C241C5
triadic
#8041C5 #C58041 #41C580
tetradic
#8041C5 #C54144 #86C541 #41C5C2
square
#8041C5 #C54144 #86C541 #41C5C2
split-complementary
#8041C5 #C5C241 #44C541
monochromatic
#44216B #622F9A #8041C5 #9F70D3 #BF9FE2
Accessibility & contrast
On white
6.03
#8041C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#8041C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8041C5
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8041C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8041C5 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#725F7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8041c5; /* rgb */ color: rgb(128, 65, 197); /* oklch */ color: oklch(52.2% 0.196 301.8);
Tailwind
colors: {
custom: {
50: '#aa7ad7',
500: '#8041c5',
950: '#000000',
},
}SCSS
$custom: #8041c5; $custom-light: #aa7ad7; $custom-dark: #000000;
JSON
{
"hex": "#8041c5",
"rgb": {
"r": 128,
"g": 65,
"b": 197
},
"hsl": {
"h": 268.636,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.5216,
"c": 0.19645,
"h": 301.8
},
"luminance": 0.12401
}Semantic roles & 50–950 ramp
primary
#8041C5
secondary
#B2CE94
accent
#DD4B97
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83