#8241C7#8241C7
#8241C7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.199 H 302.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8241C7 |
|---|---|
| RGB | rgb(130, 65, 199) |
| HSL | hsl(269, 54%, 52%) |
| HSV | hsv(269, 67%, 78%) |
| CMYK | cmyk(34.7%, 67.3%, 0%, 22%) |
| CIE-LAB | lab(42.23, 53.20, -59.21) |
| CIE-LCH | lch(42.23, 79.59, 311.94°) |
| OKLab | oklab(52.53% 0.1061 -0.1684) |
| OKLCH | oklch(52.53% 0.199 302.2) |
| XYZ | xyz(21.4026, 12.6499, 55.3359) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.26
Blueviolet
#8A2BE2
ΔE00 4.45
Bluish Purple
#703BE7
ΔE00 5.47
Bluey Purple
#6241C7
ΔE00 5.64
Purply
#983FB2
ΔE00 6.20
Royal Purple
#7851A9
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8241C7 #86C741
analogous
#4143C7 #8241C7 #C541C7
triadic
#8241C7 #C78241 #41C782
tetradic
#8241C7 #C74143 #86C741 #41C7C5
square
#8241C7 #C74143 #86C741 #41C7C5
split-complementary
#8241C7 #C7C541 #43C741
monochromatic
#46206D #642E9D #8241C7 #A170D5 #C0A0E3
Accessibility & contrast
On white
5.95
#8241C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8241C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8241C7
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8241C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8241C7 | 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)
#0063CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#74607F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8241c7; /* rgb */ color: rgb(130, 65, 199); /* oklch */ color: oklch(52.5% 0.199 302.2);
Tailwind
colors: {
custom: {
50: '#ab7ad9',
500: '#8241c7',
950: '#000000',
},
}SCSS
$custom: #8241c7; $custom-light: #ab7ad9; $custom-dark: #000000;
JSON
{
"hex": "#8241c7",
"rgb": {
"r": 130,
"g": 65,
"b": 199
},
"hsl": {
"h": 269.104,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.52534,
"c": 0.19902,
"h": 302.2
},
"luminance": 0.1265
}Semantic roles & 50–950 ramp
primary
#8241C7
secondary
#B3CF95
accent
#DE4A96
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83