#7F41C3#7F41C3
#7F41C3 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.194 H 301.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7F41C3 |
|---|---|
| RGB | rgb(127, 65, 195) |
| HSL | hsl(269, 52%, 51%) |
| HSV | hsv(269, 67%, 76%) |
| CMYK | cmyk(34.9%, 66.7%, 0%, 23.5%) |
| CIE-LAB | lab(41.58, 51.60, -57.95) |
| CIE-LCH | lch(41.58, 77.59, 311.69°) |
| OKLab | oklab(51.9% 0.1025 -0.1648) |
| OKLCH | oklch(51.9% 0.194 301.9) |
| XYZ | xyz(20.4907, 12.2327, 52.9008) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.74
Blueviolet
#8A2BE2
ΔE00 4.92
Bluey Purple
#6241C7
ΔE00 5.25
Bluish Purple
#703BE7
ΔE00 5.68
Royal Purple
#7851A9
ΔE00 5.94
Purply
#983FB2
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F41C3 #85C341
analogous
#4144C3 #7F41C3 #C041C3
triadic
#7F41C3 #C37F41 #41C37F
tetradic
#7F41C3 #C34144 #85C341 #41C3C0
square
#7F41C3 #C34144 #85C341 #41C3C0
split-complementary
#7F41C3 #C3C041 #44C341
monochromatic
#432169 #613097 #7F41C3 #9E70D2 #BE9EE0
Accessibility & contrast
On white
6.09
#7F41C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7F41C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F41C3
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F41C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F41C3 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0062C0
Tritanopia (blue-blind)
#715E7D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7f41c3; /* rgb */ color: rgb(127, 65, 195); /* oklch */ color: oklch(51.9% 0.194 301.9);
Tailwind
colors: {
custom: {
50: '#a97ad6',
500: '#7f41c3',
950: '#000000',
},
}SCSS
$custom: #7f41c3; $custom-light: #a97ad6; $custom-dark: #000000;
JSON
{
"hex": "#7f41c3",
"rgb": {
"r": 127,
"g": 65,
"b": 195
},
"hsl": {
"h": 268.615,
"s": 52,
"l": 50.98
},
"oklch": {
"l": 0.519,
"c": 0.19406,
"h": 301.9
},
"luminance": 0.12233
}Semantic roles & 50–950 ramp
primary
#7F41C3
secondary
#B1CD93
accent
#DB4C97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83