#7A2BC9#7A2BC9
#7A2BC9 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.224 H 300.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2BC9 |
|---|---|
| RGB | rgb(122, 43, 201) |
| HSL | hsl(270, 65%, 48%) |
| HSV | hsv(270, 79%, 79%) |
| CMYK | cmyk(39.3%, 78.6%, 0%, 21.2%) |
| CIE-LAB | lab(37.99, 61.83, -67.32) |
| CIE-LCH | lch(37.99, 91.40, 312.57°) |
| OKLab | oklab(49.36% 0.1148 -0.1924) |
| OKLCH | oklch(49.36% 0.224 300.8) |
| XYZ | xyz(19.4299, 10.0822, 56.1694) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.22
Darkviolet
#9400D3
ΔE00 4.35
Burple
#6832E3
ΔE00 4.61
Purple Blue
#5D21D0
ΔE00 4.93
Purply Blue
#661AEE
ΔE00 5.44
Bluish Purple
#703BE7
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2BC9 #7AC92B
analogous
#2B2BC9 #7A2BC9 #C92BC9
triadic
#7A2BC9 #C97A2B #2BC97A
tetradic
#7A2BC9 #C92B2B #7AC92B #2BC9C9
square
#7A2BC9 #C92B2B #7AC92B #2BC9C9
split-complementary
#7A2BC9 #C9C92B #2BC92B
monochromatic
#3D1564 #5B2097 #7A2BC9 #9956DB #B789E6
Accessibility & contrast
On white
6.96
#7A2BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#7A2BC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A2BC9
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2BC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2BC9 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#68567A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7a2bc9; /* rgb */ color: rgb(122, 43, 201); /* oklch */ color: oklch(49.4% 0.224 300.8);
Tailwind
colors: {
custom: {
50: '#a86edb',
500: '#7a2bc9',
950: '#000000',
},
}SCSS
$custom: #7a2bc9; $custom-light: #a86edb; $custom-dark: #000000;
JSON
{
"hex": "#7a2bc9",
"rgb": {
"r": 122,
"g": 43,
"b": 201
},
"hsl": {
"h": 270,
"s": 64.754,
"l": 47.843
},
"oklch": {
"l": 0.49364,
"c": 0.22403,
"h": 300.8
},
"luminance": 0.10082
}Semantic roles & 50–950 ramp
primary
#7A2BC9
secondary
#A8CF80
accent
#E84094
background
#FAF6FD
surface
#F5ECFB
border
#CFC7D4
text
#110815
muted
#807B83