#7A2CBD#7A2CBD
#7A2CBD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.211 H 303.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2CBD |
|---|---|
| RGB | rgb(122, 44, 189) |
| HSL | hsl(272, 62%, 46%) |
| HSV | hsv(272, 77%, 74%) |
| CMYK | cmyk(35.4%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(37.14, 58.67, -61.68) |
| CIE-LCH | lch(37.14, 85.13, 313.56°) |
| OKLab | oklab(48.47% 0.1171 -0.1758) |
| OKLCH | oklch(48.47% 0.211 303.7) |
| XYZ | xyz(18.1099, 9.6131, 49.0357) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.83
Blueviolet
#8A2BE2
ΔE00 5.55
Purple Blue
#5D21D0
ΔE00 5.65
Purple (survey)
#7E1E9C
ΔE00 5.90
Rebeccapurple
#663399
ΔE00 6.02
Bluey Purple
#6241C7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2CBD #6FBD2C
analogous
#312CBD #7A2CBD #BD2CB7
triadic
#7A2CBD #BD7A2C #2CBD7A
tetradic
#7A2CBD #BD312C #6FBD2C #2CB7BD
square
#7A2CBD #BD312C #6FBD2C #2CB7BD
split-complementary
#7A2CBD #B7BD2C #2CBD31
monochromatic
#3A155A #5A208B #7A2CBD #9850D6 #B582E2
Accessibility & contrast
On white
7.19
#7A2CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#7A2CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2CBD
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2CBD | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#6C5173
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7a2cbd; /* rgb */ color: rgb(122, 44, 189); /* oklch */ color: oklch(48.5% 0.211 303.7);
Tailwind
colors: {
custom: {
50: '#a66ed2',
500: '#7a2cbd',
950: '#000000',
},
}SCSS
$custom: #7a2cbd; $custom-light: #a66ed2; $custom-dark: #000000;
JSON
{
"hex": "#7a2cbd",
"rgb": {
"r": 122,
"g": 44,
"b": 189
},
"hsl": {
"h": 272.276,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.48465,
"c": 0.21128,
"h": 303.7
},
"luminance": 0.09613
}Semantic roles & 50–950 ramp
primary
#7A2CBD
secondary
#9FCB7A
accent
#E5428E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83