#7A3BB5#7A3BB5
#7A3BB5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.185 H 304.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3BB5 |
|---|---|
| RGB | rgb(122, 59, 181) |
| HSL | hsl(271, 51%, 47%) |
| HSV | hsv(271, 67%, 71%) |
| CMYK | cmyk(32.6%, 67.4%, 0%, 29%) |
| CIE-LAB | lab(38.90, 50.11, -54.11) |
| CIE-LCH | lch(38.90, 73.74, 312.80°) |
| OKLab | oklab(49.53% 0.1038 -0.1537) |
| OKLCH | oklch(49.53% 0.185 304) |
| XYZ | xyz(17.9286, 10.6018, 44.8089) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.55
Bluey Purple
#6241C7
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 5.87
Royal Purple
#7851A9
ΔE00 6.03
Purply
#983FB2
ΔE00 6.44
Blueviolet
#8A2BE2
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3BB5 #76B53B
analogous
#3D3BB5 #7A3BB5 #B53BB3
triadic
#7A3BB5 #B57A3B #3BB57A
tetradic
#7A3BB5 #B53D3B #76B53B #3BB3B5
square
#7A3BB5 #B53D3B #76B53B #3BB3B5
split-complementary
#7A3BB5 #B3B53B #3BB53D
monochromatic
#3C1D59 #5B2C87 #7A3BB5 #9862CC #B690DB
Accessibility & contrast
On white
6.73
#7A3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7A3BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3BB5
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3BB5 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0C5CB2
Tritanopia (blue-blind)
#6F5673
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7a3bb5; /* rgb */ color: rgb(122, 59, 181); /* oklch */ color: oklch(49.5% 0.185 304.0);
Tailwind
colors: {
custom: {
50: '#a575cc',
500: '#7a3bb5',
950: '#000000',
},
}SCSS
$custom: #7a3bb5; $custom-light: #a575cc; $custom-dark: #000000;
JSON
{
"hex": "#7a3bb5",
"rgb": {
"r": 122,
"g": 59,
"b": 181
},
"hsl": {
"h": 270.984,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.49526,
"c": 0.18545,
"h": 304
},
"luminance": 0.10602
}Semantic roles & 50–950 ramp
primary
#7A3BB5
secondary
#A5C686
accent
#DA4D92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82