#7A2EB0#7A2EB0
#7A2EB0 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.196 H 307.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2EB0 |
|---|---|
| RGB | rgb(122, 46, 176) |
| HSL | hsl(275, 59%, 44%) |
| HSV | hsv(275, 74%, 69%) |
| CMYK | cmyk(30.7%, 73.9%, 0%, 31%) |
| CIE-LAB | lab(36.42, 54.88, -55.17) |
| CIE-LCH | lch(36.42, 77.82, 314.85°) |
| OKLab | oklab(47.64% 0.1181 -0.1567) |
| OKLCH | oklch(47.64% 0.196 307) |
| XYZ | xyz(16.8378, 9.2264, 41.9597) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.27
Rebeccapurple
#663399
ΔE00 4.63
Darkviolet
#9400D3
ΔE00 5.94
Darkorchid
#9932CC
ΔE00 6.71
Purple Blue
#5D21D0
ΔE00 7.06
Bluey Purple
#6241C7
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2EB0 #64B02E
analogous
#392EB0 #7A2EB0 #B02EA5
triadic
#7A2EB0 #B07A2E #2EB07A
tetradic
#7A2EB0 #B0392E #64B02E #2EA5B0
square
#7A2EB0 #B0392E #64B02E #2EA5B0
split-complementary
#7A2EB0 #A5B02E #2EB039
monochromatic
#37154F #58217F #7A2EB0 #994BD0 #B47CDD
Accessibility & contrast
On white
7.38
#7A2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7A2EB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2EB0
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2EB0 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#714D6D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7a2eb0; /* rgb */ color: rgb(122, 46, 176); /* oklch */ color: oklch(47.6% 0.196 307.0);
Tailwind
colors: {
custom: {
50: '#a56ec8',
500: '#7a2eb0',
950: '#000000',
},
}SCSS
$custom: #7a2eb0; $custom-light: #a56ec8; $custom-dark: #000000;
JSON
{
"hex": "#7a2eb0",
"rgb": {
"r": 122,
"g": 46,
"b": 176
},
"hsl": {
"h": 275.077,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.47641,
"c": 0.19622,
"h": 307
},
"luminance": 0.09226
}Semantic roles & 50–950 ramp
primary
#7A2EB0
secondary
#96C575
accent
#E24687
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82