#7A379E#7A379E
#7A379E is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.166 H 311.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7A379E |
|---|---|
| RGB | rgb(122, 55, 158) |
| HSL | hsl(279, 48%, 42%) |
| HSV | hsv(279, 65%, 62%) |
| CMYK | cmyk(22.8%, 65.2%, 0%, 38%) |
| CIE-LAB | lab(36.63, 46.69, -44.04) |
| CIE-LCH | lch(36.63, 64.18, 316.67°) |
| OKLab | oklab(47.39% 0.1104 -0.1241) |
| OKLCH | oklch(47.39% 0.166 311.7) |
| XYZ | xyz(15.5627, 9.3390, 33.3239) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.09
Purple (survey)
#7E1E9C
ΔE00 4.12
Purply
#983FB2
ΔE00 6.56
Royal Purple
#7851A9
ΔE00 6.86
Warm Purple
#952E8F
ΔE00 7.20
Darkmagenta
#8B008B
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A379E #5B9E37
analogous
#47379E #7A379E #9E378F
triadic
#7A379E #9E7A37 #379E7A
tetradic
#7A379E #9E4737 #5B9E37 #378F9E
square
#7A379E #9E4737 #5B9E37 #378F9E
split-complementary
#7A379E #8F9E37 #379E47
monochromatic
#341743 #572771 #7A379E #9A50C2 #B47DD2
Accessibility & contrast
On white
7.32
#7A379E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7A379E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A379E
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A379E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A379E | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#2D579C
Tritanopia (blue-blind)
#764B65
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7a379e; /* rgb */ color: rgb(122, 55, 158); /* oklch */ color: oklch(47.4% 0.166 311.7);
Tailwind
colors: {
custom: {
50: '#a472bb',
500: '#7a379e',
950: '#000000',
},
}SCSS
$custom: #7a379e; $custom-light: #a472bb; $custom-dark: #000000;
JSON
{
"hex": "#7a379e",
"rgb": {
"r": 122,
"g": 55,
"b": 158
},
"hsl": {
"h": 279.029,
"s": 48.357,
"l": 41.765
},
"oklch": {
"l": 0.47394,
"c": 0.16607,
"h": 311.7
},
"luminance": 0.09339
}Semantic roles & 50–950 ramp
primary
#7A379E
secondary
#8EBB76
accent
#D8507F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81