#7A2CBF#7A2CBF
#7A2CBF is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.213 H 303.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2CBF |
|---|---|
| RGB | rgb(122, 44, 191) |
| HSL | hsl(272, 63%, 46%) |
| HSV | hsv(272, 77%, 75%) |
| CMYK | cmyk(36.1%, 77%, 0%, 25.1%) |
| CIE-LAB | lab(37.30, 59.13, -62.60) |
| CIE-LCH | lch(37.30, 86.11, 313.37°) |
| OKLab | oklab(48.63% 0.1167 -0.1785) |
| OKLCH | oklch(48.63% 0.213 303.2) |
| XYZ | xyz(18.3285, 9.7005, 50.1869) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.72
Blueviolet
#8A2BE2
ΔE00 5.30
Purple Blue
#5D21D0
ΔE00 5.51
Burple
#6832E3
ΔE00 5.84
Bluey Purple
#6241C7
ΔE00 5.91
Darkorchid
#9932CC
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2CBF #71BF2C
analogous
#312CBF #7A2CBF #BF2CBA
triadic
#7A2CBF #BF7A2C #2CBF7A
tetradic
#7A2CBF #BF312C #71BF2C #2CBABF
square
#7A2CBF #BF312C #71BF2C #2CBABF
split-complementary
#7A2CBF #BABF2C #2CBF31
monochromatic
#3A155C #5A218D #7A2CBF #9851D7 #B683E2
Accessibility & contrast
On white
7.14
#7A2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#7A2CBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2CBF
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2CBF | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#6C5275
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7a2cbf; /* rgb */ color: rgb(122, 44, 191); /* oklch */ color: oklch(48.6% 0.213 303.2);
Tailwind
colors: {
custom: {
50: '#a76ed3',
500: '#7a2cbf',
950: '#000000',
},
}SCSS
$custom: #7a2cbf; $custom-light: #a76ed3; $custom-dark: #000000;
JSON
{
"hex": "#7a2cbf",
"rgb": {
"r": 122,
"g": 44,
"b": 191
},
"hsl": {
"h": 271.837,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.48627,
"c": 0.21326,
"h": 303.2
},
"luminance": 0.09701
}Semantic roles & 50–950 ramp
primary
#7A2CBF
secondary
#A1CC7B
accent
#E6428F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83