#7A2BC0#7A2BC0
#7A2BC0 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.215 H 303.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2BC0 |
|---|---|
| RGB | rgb(122, 43, 192) |
| HSL | hsl(272, 63%, 46%) |
| HSV | hsv(272, 78%, 75%) |
| CMYK | cmyk(36.5%, 77.6%, 0%, 24.7%) |
| CIE-LAB | lab(37.25, 59.75, -63.27) |
| CIE-LCH | lch(37.25, 87.02, 313.36°) |
| OKLab | oklab(48.62% 0.1172 -0.1805) |
| OKLCH | oklch(48.62% 0.215 303) |
| XYZ | xyz(18.4021, 9.6711, 50.7562) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.62
Blueviolet
#8A2BE2
ΔE00 5.23
Purple Blue
#5D21D0
ΔE00 5.38
Burple
#6832E3
ΔE00 5.75
Bluey Purple
#6241C7
ΔE00 5.94
Darkorchid
#9932CC
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2BC0 #71C02B
analogous
#2F2BC0 #7A2BC0 #C02BBB
triadic
#7A2BC0 #C07A2B #2BC07A
tetradic
#7A2BC0 #C02F2B #71C02B #2BBBC0
square
#7A2BC0 #C02F2B #71C02B #2BBBC0
split-complementary
#7A2BC0 #BBC02B #2BC02F
monochromatic
#3A155C #5A208E #7A2BC0 #9850D8 #B682E3
Accessibility & contrast
On white
7.16
#7A2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#7A2BC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2BC0
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2BC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2BC0 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#6B5275
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7a2bc0; /* rgb */ color: rgb(122, 43, 192); /* oklch */ color: oklch(48.6% 0.215 303.0);
Tailwind
colors: {
custom: {
50: '#a76dd4',
500: '#7a2bc0',
950: '#000000',
},
}SCSS
$custom: #7a2bc0; $custom-light: #a76dd4; $custom-dark: #000000;
JSON
{
"hex": "#7a2bc0",
"rgb": {
"r": 122,
"g": 43,
"b": 192
},
"hsl": {
"h": 271.812,
"s": 63.404,
"l": 46.078
},
"oklch": {
"l": 0.48615,
"c": 0.21522,
"h": 303
},
"luminance": 0.09671
}Semantic roles & 50–950 ramp
primary
#7A2BC0
secondary
#A1CC7B
accent
#E6418F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83