#7A2BBF#7A2BBF
#7A2BBF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.214 H 303.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2BBF |
|---|---|
| RGB | rgb(122, 43, 191) |
| HSL | hsl(272, 63%, 46%) |
| HSV | hsv(272, 77%, 75%) |
| CMYK | cmyk(36.1%, 77.5%, 0%, 25.1%) |
| CIE-LAB | lab(37.16, 59.52, -62.82) |
| CIE-LCH | lch(37.16, 86.54, 313.46°) |
| OKLab | oklab(48.53% 0.1175 -0.1792) |
| OKLCH | oklch(48.53% 0.214 303.3) |
| XYZ | xyz(18.2917, 9.6269, 50.1746) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.67
Blueviolet
#8A2BE2
ΔE00 5.35
Purple Blue
#5D21D0
ΔE00 5.45
Burple
#6832E3
ΔE00 5.88
Bluey Purple
#6241C7
ΔE00 6.00
Purple (survey)
#7E1E9C
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2BBF #70BF2B
analogous
#302BBF #7A2BBF #BF2BBA
triadic
#7A2BBF #BF7A2B #2BBF7A
tetradic
#7A2BBF #BF302B #70BF2B #2BBABF
square
#7A2BBF #BF302B #70BF2B #2BBABF
split-complementary
#7A2BBF #BABF2B #2BBF30
monochromatic
#3A155B #5A208D #7A2BBF #9850D8 #B582E3
Accessibility & contrast
On white
7.18
#7A2BBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#7A2BBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2BBF
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2BBF | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#6C5274
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7a2bbf; /* rgb */ color: rgb(122, 43, 191); /* oklch */ color: oklch(48.5% 0.214 303.3);
Tailwind
colors: {
custom: {
50: '#a76dd3',
500: '#7a2bbf',
950: '#000000',
},
}SCSS
$custom: #7a2bbf; $custom-light: #a76dd3; $custom-dark: #000000;
JSON
{
"hex": "#7a2bbf",
"rgb": {
"r": 122,
"g": 43,
"b": 191
},
"hsl": {
"h": 272.027,
"s": 63.248,
"l": 45.882
},
"oklch": {
"l": 0.48533,
"c": 0.21425,
"h": 303.3
},
"luminance": 0.09627
}Semantic roles & 50–950 ramp
primary
#7A2BBF
secondary
#A0CC7A
accent
#E6428E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83