#7A41BB#7A41BB
#7A41BB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.184 H 301.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7A41BB |
|---|---|
| RGB | rgb(122, 65, 187) |
| HSL | hsl(268, 48%, 49%) |
| HSV | hsv(268, 65%, 73%) |
| CMYK | cmyk(34.8%, 65.2%, 0%, 26.7%) |
| CIE-LAB | lab(40.42, 48.57, -55.18) |
| CIE-LCH | lch(40.42, 73.51, 311.35°) |
| OKLab | oklab(50.75% 0.0965 -0.1568) |
| OKLCH | oklch(50.75% 0.184 301.6) |
| XYZ | xyz(18.8838, 11.5059, 48.2301) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.90
Royal Purple
#7851A9
ΔE00 5.28
Darkorchid
#9932CC
ΔE00 5.74
Blueviolet
#8A2BE2
ΔE00 6.02
Bluish Purple
#703BE7
ΔE00 6.42
Purply
#983FB2
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A41BB #82BB41
analogous
#4145BB #7A41BB #B741BB
triadic
#7A41BB #BB7A41 #41BB7A
tetradic
#7A41BB #BB4145 #82BB41 #41BBB7
square
#7A41BB #BB4145 #82BB41 #41BBB7
split-complementary
#7A41BB #BBB741 #45BB41
monochromatic
#3F2160 #5C318E #7A41BB #996DCC #B99ADC
Accessibility & contrast
On white
6.36
#7A41BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7A41BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A41BB
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A41BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A41BB | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0C5FB8
Tritanopia (blue-blind)
#6D5C78
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7a41bb; /* rgb */ color: rgb(122, 65, 187); /* oklch */ color: oklch(50.8% 0.184 301.6);
Tailwind
colors: {
custom: {
50: '#a579d0',
500: '#7a41bb',
950: '#000000',
},
}SCSS
$custom: #7a41bb; $custom-light: #a579d0; $custom-dark: #000000;
JSON
{
"hex": "#7a41bb",
"rgb": {
"r": 122,
"g": 65,
"b": 187
},
"hsl": {
"h": 268.033,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.50752,
"c": 0.18414,
"h": 301.6
},
"luminance": 0.11506
}Semantic roles & 50–950 ramp
primary
#7A41BB
secondary
#AEC890
accent
#D85098
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82