#7A2FC9#7A2FC9
#7A2FC9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.220 H 300.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2FC9 |
|---|---|
| RGB | rgb(122, 47, 201) |
| HSL | hsl(269, 62%, 49%) |
| HSV | hsv(269, 77%, 79%) |
| CMYK | cmyk(39.3%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(38.53, 60.27, -66.43) |
| CIE-LCH | lch(38.53, 89.70, 312.22°) |
| OKLab | oklab(49.74% 0.1116 -0.1898) |
| OKLCH | oklch(49.74% 0.22 300.5) |
| XYZ | xyz(19.5825, 10.3875, 56.2203) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.02
Burple
#6832E3
ΔE00 4.48
Darkviolet
#9400D3
ΔE00 4.60
Bluish Purple
#703BE7
ΔE00 5.10
Bluey Purple
#6241C7
ΔE00 5.11
Purple Blue
#5D21D0
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2FC9 #7EC92F
analogous
#2F31C9 #7A2FC9 #C72FC9
triadic
#7A2FC9 #C97A2F #2FC97A
tetradic
#7A2FC9 #C92F31 #7EC92F #2FC9C7
square
#7A2FC9 #C92F31 #7EC92F #2FC9C7
split-complementary
#7A2FC9 #C9C72F #31C92F
monochromatic
#3E1866 #5C2397 #7A2FC9 #995CD9 #B88EE5
Accessibility & contrast
On white
6.82
#7A2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#7A2FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A2FC9
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2FC9 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#68587B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7a2fc9; /* rgb */ color: rgb(122, 47, 201); /* oklch */ color: oklch(49.7% 0.220 300.5);
Tailwind
colors: {
custom: {
50: '#a770da',
500: '#7a2fc9',
950: '#000000',
},
}SCSS
$custom: #7a2fc9; $custom-light: #a770da; $custom-dark: #000000;
JSON
{
"hex": "#7a2fc9",
"rgb": {
"r": 122,
"g": 47,
"b": 201
},
"hsl": {
"h": 269.221,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.49741,
"c": 0.22022,
"h": 300.5
},
"luminance": 0.10388
}Semantic roles & 50–950 ramp
primary
#7A2FC9
secondary
#ABCF85
accent
#E54396
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83