#7A2FC7#7A2FC7
#7A2FC7 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.218 H 300.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2FC7 |
|---|---|
| RGB | rgb(122, 47, 199) |
| HSL | hsl(270, 62%, 48%) |
| HSV | hsv(270, 76%, 78%) |
| CMYK | cmyk(38.7%, 76.4%, 0%, 22%) |
| CIE-LAB | lab(38.37, 59.80, -65.54) |
| CIE-LCH | lch(38.37, 88.72, 312.38°) |
| OKLab | oklab(49.58% 0.1122 -0.1872) |
| OKLCH | oklch(49.58% 0.218 300.9) |
| XYZ | xyz(19.3488, 10.2940, 54.9893) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.24
Darkviolet
#9400D3
ΔE00 4.62
Burple
#6832E3
ΔE00 4.72
Bluey Purple
#6241C7
ΔE00 5.18
Purple Blue
#5D21D0
ΔE00 5.30
Bluish Purple
#703BE7
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2FC7 #7CC72F
analogous
#2F30C7 #7A2FC7 #C62FC7
triadic
#7A2FC7 #C77A2F #2FC77A
tetradic
#7A2FC7 #C72F30 #7CC72F #2FC7C6
square
#7A2FC7 #C72F30 #7CC72F #2FC7C6
split-complementary
#7A2FC7 #C7C62F #30C72F
monochromatic
#3D1864 #5C2395 #7A2FC7 #995BD8 #B88CE4
Accessibility & contrast
On white
6.87
#7A2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#7A2FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A2FC7
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2FC7 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#69577A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7a2fc7; /* rgb */ color: rgb(122, 47, 199); /* oklch */ color: oklch(49.6% 0.218 300.9);
Tailwind
colors: {
custom: {
50: '#a770d9',
500: '#7a2fc7',
950: '#000000',
},
}SCSS
$custom: #7a2fc7; $custom-light: #a770d9; $custom-dark: #000000;
JSON
{
"hex": "#7a2fc7",
"rgb": {
"r": 122,
"g": 47,
"b": 199
},
"hsl": {
"h": 269.605,
"s": 61.789,
"l": 48.235
},
"oklch": {
"l": 0.49575,
"c": 0.21821,
"h": 300.9
},
"luminance": 0.10294
}Semantic roles & 50–950 ramp
primary
#7A2FC7
secondary
#A9CE84
accent
#E54395
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83