#7A41B2#7A41B2
#7A41B2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.174 H 304.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7A41B2 |
|---|---|
| RGB | rgb(122, 65, 178) |
| HSL | hsl(270, 47%, 48%) |
| HSV | hsv(270, 63%, 70%) |
| CMYK | cmyk(31.5%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(39.80, 46.34, -50.88) |
| CIE-LCH | lch(39.80, 68.82, 312.33°) |
| OKLab | oklab(50.11% 0.0972 -0.1442) |
| OKLCH | oklch(50.11% 0.174 304) |
| XYZ | xyz(17.9504, 11.1326, 43.3140) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.62
Bluey Purple
#6241C7
ΔE00 5.88
Rebeccapurple
#663399
ΔE00 5.92
Purply
#983FB2
ΔE00 6.07
Darkorchid
#9932CC
ΔE00 6.21
Blueviolet
#8A2BE2
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A41B2 #79B241
analogous
#4141B2 #7A41B2 #B241B2
triadic
#7A41B2 #B27A41 #41B27A
tetradic
#7A41B2 #B24141 #79B241 #41B2B2
square
#7A41B2 #B24141 #79B241 #41B2B2
split-complementary
#7A41B2 #B2B241 #41B241
monochromatic
#3D2058 #5B3185 #7A41B2 #9968C8 #B795D8
Accessibility & contrast
On white
6.51
#7A41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7A41B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A41B2
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A41B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A41B2 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#215EAF
Tritanopia (blue-blind)
#705973
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7a41b2; /* rgb */ color: rgb(122, 65, 178); /* oklch */ color: oklch(50.1% 0.174 304.0);
Tailwind
colors: {
custom: {
50: '#a479ca',
500: '#7a41b2',
950: '#000000',
},
}SCSS
$custom: #7a41b2; $custom-light: #a479ca; $custom-dark: #000000;
JSON
{
"hex": "#7a41b2",
"rgb": {
"r": 122,
"g": 65,
"b": 178
},
"hsl": {
"h": 270.265,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.5011,
"c": 0.17389,
"h": 304
},
"luminance": 0.11133
}Semantic roles & 50–950 ramp
primary
#7A41B2
secondary
#A7C48B
accent
#D65293
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82