#7A2FE3#7A2FE3
#7A2FE3 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 52.0% C 0.246 H 295.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2FE3 |
|---|---|
| RGB | rgb(122, 47, 227) |
| HSL | hsl(265, 76%, 54%) |
| HSV | hsv(265, 79%, 89%) |
| CMYK | cmyk(46.3%, 79.3%, 0%, 11%) |
| CIE-LAB | lab(40.76, 66.48, -77.75) |
| CIE-LCH | lch(40.76, 102.30, 310.53°) |
| OKLab | oklab(51.98% 0.1042 -0.223) |
| OKLCH | oklch(51.98% 0.246 295) |
| XYZ | xyz(22.9039, 11.7160, 73.7128) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.42
Blueviolet
#8A2BE2
ΔE00 2.46
Burple
#6832E3
ΔE00 2.56
Purpley Blue
#5F34E7
ΔE00 3.71
Purply Blue
#661AEE
ΔE00 3.98
Violet
#8F00FF
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2FE3 #98E32F
analogous
#2F3EE3 #7A2FE3 #D42FE3
triadic
#7A2FE3 #E37A2F #2FE37A
tetradic
#7A2FE3 #E32F3E #98E32F #2FE3D4
square
#7A2FE3 #E32F3E #98E32F #2FE3D4
split-complementary
#7A2FE3 #E3D42F #3EE32F
monochromatic
#421286 #5D19BC #7A2FE3 #9C65EA #BF9BF2
Accessibility & contrast
On white
6.28
#7A2FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7A2FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A2FE3
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2FE3 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062E8
Deuteranopia (green-blind)
#005DE0
Tritanopia (blue-blind)
#5B638A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7a2fe3; /* rgb */ color: rgb(122, 47, 227); /* oklch */ color: oklch(52.0% 0.246 295.0);
Tailwind
colors: {
custom: {
50: '#aa71ed',
500: '#7a2fe3',
950: '#000000',
},
}SCSS
$custom: #7a2fe3; $custom-light: #aa71ed; $custom-dark: #000000;
JSON
{
"hex": "#7a2fe3",
"rgb": {
"r": 122,
"g": 47,
"b": 227
},
"hsl": {
"h": 265,
"s": 76.271,
"l": 53.725
},
"oklch": {
"l": 0.5198,
"c": 0.24616,
"h": 295
},
"luminance": 0.11717
}Semantic roles & 50–950 ramp
primary
#7A2FE3
secondary
#BDDD90
accent
#F335A4
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84