#7A2BCA#7A2BCA
#7A2BCA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.225 H 300.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2BCA |
|---|---|
| RGB | rgb(122, 43, 202) |
| HSL | hsl(270, 65%, 48%) |
| HSV | hsv(270, 79%, 79%) |
| CMYK | cmyk(39.6%, 78.7%, 0%, 20.8%) |
| CIE-LAB | lab(38.07, 62.06, -67.76) |
| CIE-LCH | lch(38.07, 91.89, 312.49°) |
| OKLab | oklab(49.45% 0.1145 -0.1937) |
| OKLCH | oklch(49.45% 0.225 300.6) |
| XYZ | xyz(19.5479, 10.1294, 56.7910) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.11
Darkviolet
#9400D3
ΔE00 4.34
Burple
#6832E3
ΔE00 4.49
Purple Blue
#5D21D0
ΔE00 4.91
Purply Blue
#661AEE
ΔE00 5.33
Bluish Purple
#703BE7
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2BCA #7BCA2B
analogous
#2B2CCA #7A2BCA #C92BCA
triadic
#7A2BCA #CA7A2B #2BCA7A
tetradic
#7A2BCA #CA2B2C #7BCA2B #2BCAC9
square
#7A2BCA #CA2B2C #7BCA2B #2BCAC9
split-complementary
#7A2BCA #CAC92B #2CCA2B
monochromatic
#3D1665 #5C2098 #7A2BCA #9957DB #B789E6
Accessibility & contrast
On white
6.94
#7A2BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#7A2BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A2BCA
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2BCA | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#67577B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7a2bca; /* rgb */ color: rgb(122, 43, 202); /* oklch */ color: oklch(49.4% 0.225 300.6);
Tailwind
colors: {
custom: {
50: '#a86edb',
500: '#7a2bca',
950: '#000000',
},
}SCSS
$custom: #7a2bca; $custom-light: #a86edb; $custom-dark: #000000;
JSON
{
"hex": "#7a2bca",
"rgb": {
"r": 122,
"g": 43,
"b": 202
},
"hsl": {
"h": 269.811,
"s": 64.898,
"l": 48.039
},
"oklch": {
"l": 0.49449,
"c": 0.22502,
"h": 300.6
},
"luminance": 0.1013
}Semantic roles & 50–950 ramp
primary
#7A2BCA
secondary
#A9D081
accent
#E84094
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83