#7A39B8#7A39B8
#7A39B8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.191 H 303.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7A39B8 |
|---|---|
| RGB | rgb(122, 57, 184) |
| HSL | hsl(271, 53%, 47%) |
| HSV | hsv(271, 69%, 72%) |
| CMYK | cmyk(33.7%, 69%, 0%, 27.8%) |
| CIE-LAB | lab(38.77, 51.80, -56.09) |
| CIE-LCH | lch(38.77, 76.35, 312.72°) |
| OKLab | oklab(49.5% 0.1056 -0.1595) |
| OKLCH | oklch(49.5% 0.191 303.5) |
| XYZ | xyz(18.1389, 10.5245, 46.4139) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.40
Darkorchid
#9932CC
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 5.74
Blueviolet
#8A2BE2
ΔE00 5.98
Darkviolet
#9400D3
ΔE00 6.18
Royal Purple
#7851A9
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A39B8 #77B839
analogous
#3B39B8 #7A39B8 #B839B6
triadic
#7A39B8 #B87A39 #39B87A
tetradic
#7A39B8 #B83B39 #77B839 #39B6B8
square
#7A39B8 #B83B39 #77B839 #39B6B8
split-complementary
#7A39B8 #B6B839 #39B83B
monochromatic
#3C1C5B #5B2B89 #7A39B8 #9860CE #B78FDC
Accessibility & contrast
On white
6.76
#7A39B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#7A39B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A39B8
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A39B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A39B8 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#6E5674
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7a39b8; /* rgb */ color: rgb(122, 57, 184); /* oklch */ color: oklch(49.5% 0.191 303.5);
Tailwind
colors: {
custom: {
50: '#a574ce',
500: '#7a39b8',
950: '#000000',
},
}SCSS
$custom: #7a39b8; $custom-light: #a574ce; $custom-dark: #000000;
JSON
{
"hex": "#7a39b8",
"rgb": {
"r": 122,
"g": 57,
"b": 184
},
"hsl": {
"h": 270.709,
"s": 52.697,
"l": 47.255
},
"oklch": {
"l": 0.49499,
"c": 0.19129,
"h": 303.5
},
"luminance": 0.10525
}Semantic roles & 50–950 ramp
primary
#7A39B8
secondary
#A6C786
accent
#DC4C92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82