#7A3EB7#7A3EB7
#7A3EB7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.184 H 303.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3EB7 |
|---|---|
| RGB | rgb(122, 62, 183) |
| HSL | hsl(270, 49%, 48%) |
| HSV | hsv(270, 66%, 72%) |
| CMYK | cmyk(33.3%, 66.1%, 0%, 28.2%) |
| CIE-LAB | lab(39.58, 49.10, -54.18) |
| CIE-LCH | lch(39.58, 73.12, 312.18°) |
| OKLab | oklab(50.06% 0.1003 -0.1539) |
| OKLCH | oklch(50.06% 0.184 303.1) |
| XYZ | xyz(18.2939, 11.0017, 45.9503) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.31
Royal Purple
#7851A9
ΔE00 5.55
Darkorchid
#9932CC
ΔE00 5.80
Rebeccapurple
#663399
ΔE00 6.04
Blueviolet
#8A2BE2
ΔE00 6.31
Purply
#983FB2
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3EB7 #7BB73E
analogous
#3E3EB7 #7A3EB7 #B63EB7
triadic
#7A3EB7 #B77A3E #3EB77A
tetradic
#7A3EB7 #B73E3E #7BB73E #3EB7B6
square
#7A3EB7 #B73E3E #7BB73E #3EB7B6
split-complementary
#7A3EB7 #B7B63E #3EB73E
monochromatic
#3D1F5C #5C2F89 #7A3EB7 #9967CB #B794DB
Accessibility & contrast
On white
6.56
#7A3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#7A3EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3EB7
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3EB7 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#105DB4
Tritanopia (blue-blind)
#6E5975
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7a3eb7; /* rgb */ color: rgb(122, 62, 183); /* oklch */ color: oklch(50.1% 0.184 303.1);
Tailwind
colors: {
custom: {
50: '#a577cd',
500: '#7a3eb7',
950: '#000000',
},
}SCSS
$custom: #7a3eb7; $custom-light: #a577cd; $custom-dark: #000000;
JSON
{
"hex": "#7a3eb7",
"rgb": {
"r": 122,
"g": 62,
"b": 183
},
"hsl": {
"h": 269.752,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.5006,
"c": 0.18368,
"h": 303.1
},
"luminance": 0.11002
}Semantic roles & 50–950 ramp
primary
#7A3EB7
secondary
#A9C68A
accent
#D94F94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82