#7A2FAE#7A2FAE
#7A2FAE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.193 H 307.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2FAE |
|---|---|
| RGB | rgb(122, 47, 174) |
| HSL | hsl(275, 57%, 43%) |
| HSV | hsv(275, 73%, 68%) |
| CMYK | cmyk(29.9%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(36.42, 54.00, -53.98) |
| CIE-LCH | lch(36.42, 76.35, 315.01°) |
| OKLab | oklab(47.6% 0.1175 -0.1532) |
| OKLCH | oklch(47.6% 0.193 307.5) |
| XYZ | xyz(16.6809, 9.2268, 40.9384) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.11
Rebeccapurple
#663399
ΔE00 4.44
Darkviolet
#9400D3
ΔE00 6.19
Darkorchid
#9932CC
ΔE00 6.79
Purply
#983FB2
ΔE00 7.23
Bluey Purple
#6241C7
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2FAE #63AE2F
analogous
#3A2FAE #7A2FAE #AE2FA2
triadic
#7A2FAE #AE7A2F #2FAE7A
tetradic
#7A2FAE #AE3A2F #63AE2F #2FA2AE
square
#7A2FAE #AE3A2F #63AE2F #2FA2AE
split-complementary
#7A2FAE #A2AE2F #2FAE3A
monochromatic
#36154E #58227E #7A2FAE #994CCF #B47CDC
Accessibility & contrast
On white
7.38
#7A2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7A2FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2FAE
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2FAE | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#714D6C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7a2fae; /* rgb */ color: rgb(122, 47, 174); /* oklch */ color: oklch(47.6% 0.193 307.5);
Tailwind
colors: {
custom: {
50: '#a56fc7',
500: '#7a2fae',
950: '#000000',
},
}SCSS
$custom: #7a2fae; $custom-light: #a56fc7; $custom-dark: #000000;
JSON
{
"hex": "#7a2fae",
"rgb": {
"r": 122,
"g": 47,
"b": 174
},
"hsl": {
"h": 275.433,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.47595,
"c": 0.19305,
"h": 307.5
},
"luminance": 0.09227
}Semantic roles & 50–950 ramp
primary
#7A2FAE
secondary
#95C475
accent
#E14786
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82