#8241C5#8241C5
#8241C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.197 H 302.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8241C5 |
|---|---|
| RGB | rgb(130, 65, 197) |
| HSL | hsl(270, 53%, 51%) |
| HSV | hsv(270, 67%, 77%) |
| CMYK | cmyk(34%, 67%, 0%, 22.7%) |
| CIE-LAB | lab(42.09, 52.71, -58.27) |
| CIE-LCH | lch(42.09, 78.58, 312.13°) |
| OKLab | oklab(52.39% 0.1063 -0.1657) |
| OKLCH | oklch(52.39% 0.197 302.7) |
| XYZ | xyz(21.1719, 12.5576, 54.1210) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.26
Blueviolet
#8A2BE2
ΔE00 4.66
Bluey Purple
#6241C7
ΔE00 5.72
Bluish Purple
#703BE7
ΔE00 5.73
Purply
#983FB2
ΔE00 5.99
Royal Purple
#7851A9
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8241C5 #84C541
analogous
#4142C5 #8241C5 #C441C5
triadic
#8241C5 #C58241 #41C582
tetradic
#8241C5 #C54142 #84C541 #41C5C4
square
#8241C5 #C54142 #84C541 #41C5C4
split-complementary
#8241C5 #C5C441 #42C541
monochromatic
#45216B #642F9A #8241C5 #A170D3 #C09FE2
Accessibility & contrast
On white
5.98
#8241C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8241C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8241C5
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8241C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8241C5 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0163C2
Tritanopia (blue-blind)
#755F7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8241c5; /* rgb */ color: rgb(130, 65, 197); /* oklch */ color: oklch(52.4% 0.197 302.7);
Tailwind
colors: {
custom: {
50: '#ab7ad7',
500: '#8241c5',
950: '#000000',
},
}SCSS
$custom: #8241c5; $custom-light: #ab7ad7; $custom-dark: #000000;
JSON
{
"hex": "#8241c5",
"rgb": {
"r": 130,
"g": 65,
"b": 197
},
"hsl": {
"h": 269.545,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.52388,
"c": 0.19684,
"h": 302.7
},
"luminance": 0.12558
}Semantic roles & 50–950 ramp
primary
#8241C5
secondary
#B1CE94
accent
#DD4B95
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83