#7C2FAF#7C2FAF
#7C2FAF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.195 H 308.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2FAF |
|---|---|
| RGB | rgb(124, 47, 175) |
| HSL | hsl(276, 58%, 44%) |
| HSV | hsv(276, 73%, 69%) |
| CMYK | cmyk(29.1%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(36.77, 54.62, -53.99) |
| CIE-LCH | lch(36.77, 76.80, 315.33°) |
| OKLab | oklab(47.93% 0.12 -0.1532) |
| OKLCH | oklch(47.93% 0.195 308.1) |
| XYZ | xyz(17.0649, 9.4135, 41.4671) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.15
Rebeccapurple
#663399
ΔE00 4.77
Darkviolet
#9400D3
ΔE00 5.94
Darkorchid
#9932CC
ΔE00 6.45
Purply
#983FB2
ΔE00 6.90
Blueviolet
#8A2BE2
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2FAF #62AF2F
analogous
#3C2FAF #7C2FAF #AF2FA2
triadic
#7C2FAF #AF7C2F #2FAF7C
tetradic
#7C2FAF #AF3C2F #62AF2F #2FA2AF
square
#7C2FAF #AF3C2F #62AF2F #2FA2AF
split-complementary
#7C2FAF #A2AF2F #2FAF3C
monochromatic
#38154F #5A227F #7C2FAF #9B4CCF #B67CDC
Accessibility & contrast
On white
7.29
#7C2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#7C2FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2FAF
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2FAF | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0357AC
Tritanopia (blue-blind)
#744D6C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7c2faf; /* rgb */ color: rgb(124, 47, 175); /* oklch */ color: oklch(47.9% 0.195 308.1);
Tailwind
colors: {
custom: {
50: '#a76fc8',
500: '#7c2faf',
950: '#000000',
},
}SCSS
$custom: #7c2faf; $custom-light: #a76fc8; $custom-dark: #000000;
JSON
{
"hex": "#7c2faf",
"rgb": {
"r": 124,
"g": 47,
"b": 175
},
"hsl": {
"h": 276.094,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.47926,
"c": 0.19461,
"h": 308.1
},
"luminance": 0.09413
}Semantic roles & 50–950 ramp
primary
#7C2FAF
secondary
#95C475
accent
#E14784
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82