#7A41C0#7A41C0
#7A41C0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.190 H 300.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7A41C0 |
|---|---|
| RGB | rgb(122, 65, 192) |
| HSL | hsl(267, 50%, 50%) |
| HSV | hsv(267, 66%, 75%) |
| CMYK | cmyk(36.5%, 66.1%, 0%, 24.7%) |
| CIE-LAB | lab(40.77, 49.82, -57.54) |
| CIE-LCH | lch(40.77, 76.11, 310.89°) |
| OKLab | oklab(51.12% 0.096 -0.1638) |
| OKLCH | oklch(51.12% 0.19 300.4) |
| XYZ | xyz(19.4284, 11.7238, 51.0983) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.50
Blueviolet
#8A2BE2
ΔE00 5.44
Darkorchid
#9932CC
ΔE00 5.60
Bluish Purple
#703BE7
ΔE00 5.67
Royal Purple
#7851A9
ΔE00 5.74
Burple
#6832E3
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A41C0 #87C041
analogous
#4147C0 #7A41C0 #B941C0
triadic
#7A41C0 #C07A41 #41C07A
tetradic
#7A41C0 #C04147 #87C041 #41C0B9
square
#7A41C0 #C04147 #87C041 #41C0B9
split-complementary
#7A41C0 #C0B941 #47C041
monochromatic
#402265 #5D3193 #7A41C0 #9A6FCF #BA9DDE
Accessibility & contrast
On white
6.28
#7A41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7A41C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A41C0
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A41C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A41C0 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#6B5E7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7a41c0; /* rgb */ color: rgb(122, 65, 192); /* oklch */ color: oklch(51.1% 0.190 300.4);
Tailwind
colors: {
custom: {
50: '#a679d4',
500: '#7a41c0',
950: '#000000',
},
}SCSS
$custom: #7a41c0; $custom-light: #a679d4; $custom-dark: #000000;
JSON
{
"hex": "#7a41c0",
"rgb": {
"r": 122,
"g": 65,
"b": 192
},
"hsl": {
"h": 266.929,
"s": 50.198,
"l": 50.392
},
"oklch": {
"l": 0.51118,
"c": 0.18981,
"h": 300.4
},
"luminance": 0.11724
}Semantic roles & 50–950 ramp
primary
#7A41C0
secondary
#B1CB92
accent
#DA4E9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83