#7A2FAF#7A2FAF
#7A2FAF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.194 H 307.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2FAF |
|---|---|
| RGB | rgb(122, 47, 175) |
| HSL | hsl(275, 58%, 44%) |
| HSV | hsv(275, 73%, 69%) |
| CMYK | cmyk(30.3%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(36.49, 54.23, -54.45) |
| CIE-LCH | lch(36.49, 76.85, 314.88°) |
| OKLab | oklab(47.67% 0.1173 -0.1546) |
| OKLCH | oklch(47.67% 0.194 307.2) |
| XYZ | xyz(16.7788, 9.2660, 41.4537) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.24
Rebeccapurple
#663399
ΔE00 4.53
Darkviolet
#9400D3
ΔE00 6.09
Darkorchid
#9932CC
ΔE00 6.71
Bluey Purple
#6241C7
ΔE00 7.12
Purple Blue
#5D21D0
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2FAF #64AF2F
analogous
#3A2FAF #7A2FAF #AF2FA4
triadic
#7A2FAF #AF7A2F #2FAF7A
tetradic
#7A2FAF #AF3A2F #64AF2F #2FA4AF
square
#7A2FAF #AF3A2F #64AF2F #2FA4AF
split-complementary
#7A2FAF #A4AF2F #2FAF3A
monochromatic
#37154F #58227F #7A2FAF #994CCF #B47CDC
Accessibility & contrast
On white
7.36
#7A2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7A2FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2FAF
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2FAF | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#714D6C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7a2faf; /* rgb */ color: rgb(122, 47, 175); /* oklch */ color: oklch(47.7% 0.194 307.2);
Tailwind
colors: {
custom: {
50: '#a56fc8',
500: '#7a2faf',
950: '#000000',
},
}SCSS
$custom: #7a2faf; $custom-light: #a56fc8; $custom-dark: #000000;
JSON
{
"hex": "#7a2faf",
"rgb": {
"r": 122,
"g": 47,
"b": 175
},
"hsl": {
"h": 275.156,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.47671,
"c": 0.19406,
"h": 307.2
},
"luminance": 0.09266
}Semantic roles & 50–950 ramp
primary
#7A2FAF
secondary
#96C475
accent
#E14787
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82