#7F41C0#7F41C0
#7F41C0 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.191 H 302.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7F41C0 |
|---|---|
| RGB | rgb(127, 65, 192) |
| HSL | hsl(269, 50%, 50%) |
| HSV | hsv(269, 66%, 75%) |
| CMYK | cmyk(33.9%, 66.1%, 0%, 24.7%) |
| CIE-LAB | lab(41.37, 50.87, -56.54) |
| CIE-LCH | lch(41.37, 76.05, 311.98°) |
| OKLab | oklab(51.68% 0.1028 -0.1607) |
| OKLCH | oklch(51.68% 0.191 302.6) |
| XYZ | xyz(20.1549, 12.0984, 51.1323) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 5.26
Bluey Purple
#6241C7
ΔE00 5.42
Royal Purple
#7851A9
ΔE00 5.65
Purply
#983FB2
ΔE00 6.04
Bluish Purple
#703BE7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F41C0 #82C041
analogous
#4142C0 #7F41C0 #BE41C0
triadic
#7F41C0 #C07F41 #41C07F
tetradic
#7F41C0 #C04142 #82C041 #41C0BE
square
#7F41C0 #C04142 #82C041 #41C0BE
split-complementary
#7F41C0 #C0BE41 #42C041
monochromatic
#432265 #613193 #7F41C0 #9E6FCF #BD9DDE
Accessibility & contrast
On white
6.14
#7F41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#7F41C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F41C0
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F41C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F41C0 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0B61BD
Tritanopia (blue-blind)
#725D7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7f41c0; /* rgb */ color: rgb(127, 65, 192); /* oklch */ color: oklch(51.7% 0.191 302.6);
Tailwind
colors: {
custom: {
50: '#a97ad4',
500: '#7f41c0',
950: '#000000',
},
}SCSS
$custom: #7f41c0; $custom-light: #a97ad4; $custom-dark: #000000;
JSON
{
"hex": "#7f41c0",
"rgb": {
"r": 127,
"g": 65,
"b": 192
},
"hsl": {
"h": 269.291,
"s": 50.198,
"l": 50.392
},
"oklch": {
"l": 0.51681,
"c": 0.19074,
"h": 302.6
},
"luminance": 0.12098
}Semantic roles & 50–950 ramp
primary
#7F41C0
secondary
#AFCB92
accent
#DA4E96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83