#7B2CC0#7B2CC0
#7B2CC0 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.214 H 303.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2CC0 |
|---|---|
| RGB | rgb(123, 44, 192) |
| HSL | hsl(272, 63%, 46%) |
| HSV | hsv(272, 77%, 75%) |
| CMYK | cmyk(35.9%, 77.1%, 0%, 24.7%) |
| CIE-LAB | lab(37.51, 59.53, -62.83) |
| CIE-LCH | lch(37.51, 86.55, 313.45°) |
| OKLab | oklab(48.83% 0.1178 -0.1792) |
| OKLCH | oklch(48.83% 0.214 303.3) |
| XYZ | xyz(18.5813, 9.8181, 50.7751) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.55
Blueviolet
#8A2BE2
ΔE00 5.11
Purple Blue
#5D21D0
ΔE00 5.60
Burple
#6832E3
ΔE00 5.80
Darkorchid
#9932CC
ΔE00 5.89
Bluey Purple
#6241C7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2CC0 #71C02C
analogous
#312CC0 #7B2CC0 #C02CBB
triadic
#7B2CC0 #C07B2C #2CC07B
tetradic
#7B2CC0 #C0312C #71C02C #2CBBC0
square
#7B2CC0 #C0312C #71C02C #2CBBC0
split-complementary
#7B2CC0 #BBC02C #2CC031
monochromatic
#3B155C #5B218E #7B2CC0 #9952D7 #B684E3
Accessibility & contrast
On white
7.09
#7B2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#7B2CC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2CC0
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2CC0 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#6D5375
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7b2cc0; /* rgb */ color: rgb(123, 44, 192); /* oklch */ color: oklch(48.8% 0.214 303.3);
Tailwind
colors: {
custom: {
50: '#a76ed4',
500: '#7b2cc0',
950: '#000000',
},
}SCSS
$custom: #7b2cc0; $custom-light: #a76ed4; $custom-dark: #000000;
JSON
{
"hex": "#7b2cc0",
"rgb": {
"r": 123,
"g": 44,
"b": 192
},
"hsl": {
"h": 272.027,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.48831,
"c": 0.21443,
"h": 303.3
},
"luminance": 0.09818
}Semantic roles & 50–950 ramp
primary
#7B2CC0
secondary
#A1CC7C
accent
#E6428E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83