#7A3FAC#7A3FAC
#7A3FAC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.170 H 306.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3FAC |
|---|---|
| RGB | rgb(122, 63, 172) |
| HSL | hsl(272, 46%, 46%) |
| HSV | hsv(272, 63%, 67%) |
| CMYK | cmyk(29.1%, 63.4%, 0%, 32.5%) |
| CIE-LAB | lab(39.02, 45.92, -48.58) |
| CIE-LCH | lch(39.02, 66.85, 313.39°) |
| OKLab | oklab(49.42% 0.0999 -0.1374) |
| OKLCH | oklch(49.42% 0.17 306) |
| XYZ | xyz(17.2483, 10.6713, 40.1728) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.85
Rebeccapurple
#663399
ΔE00 5.19
Purply
#983FB2
ΔE00 5.92
Purple (survey)
#7E1E9C
ΔE00 6.48
Darkorchid
#9932CC
ΔE00 6.61
Bluey Purple
#6241C7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3FAC #71AC3F
analogous
#433FAC #7A3FAC #AC3FA7
triadic
#7A3FAC #AC7A3F #3FAC7A
tetradic
#7A3FAC #AC433F #71AC3F #3FA7AC
square
#7A3FAC #AC433F #71AC3F #3FA7AC
split-complementary
#7A3FAC #A7AC3F #3FAC43
monochromatic
#3A1E52 #5A2F7F #7A3FAC #9863C6 #B68FD6
Accessibility & contrast
On white
6.70
#7A3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#7A3FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3FAC
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3FAC | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#725570
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7a3fac; /* rgb */ color: rgb(122, 63, 172); /* oklch */ color: oklch(49.4% 0.170 306.0);
Tailwind
colors: {
custom: {
50: '#a477c5',
500: '#7a3fac',
950: '#000000',
},
}SCSS
$custom: #7a3fac; $custom-light: #a477c5; $custom-dark: #000000;
JSON
{
"hex": "#7a3fac",
"rgb": {
"r": 122,
"g": 63,
"b": 172
},
"hsl": {
"h": 272.477,
"s": 46.383,
"l": 46.078
},
"oklch": {
"l": 0.49417,
"c": 0.16994,
"h": 306
},
"luminance": 0.10671
}Semantic roles & 50–950 ramp
primary
#7A3FAC
secondary
#A1C186
accent
#D6528E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82