#7C2FB9#7C2FB9
#7C2FB9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.205 H 305.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2FB9 |
|---|---|
| RGB | rgb(124, 47, 185) |
| HSL | hsl(273, 59%, 45%) |
| HSV | hsv(273, 75%, 73%) |
| CMYK | cmyk(33%, 74.6%, 0%, 27.5%) |
| CIE-LAB | lab(37.52, 56.89, -58.70) |
| CIE-LCH | lch(37.52, 81.74, 314.10°) |
| OKLab | oklab(48.69% 0.1182 -0.167) |
| OKLCH | oklch(48.69% 0.205 305.3) |
| XYZ | xyz(18.0837, 9.8210, 46.8325) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 5.04
Purple (survey)
#7E1E9C
ΔE00 5.49
Rebeccapurple
#663399
ΔE00 5.72
Darkorchid
#9932CC
ΔE00 5.79
Blueviolet
#8A2BE2
ΔE00 5.84
Bluey Purple
#6241C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2FB9 #6CB92F
analogous
#372FB9 #7C2FB9 #B92FB1
triadic
#7C2FB9 #B97C2F #2FB97C
tetradic
#7C2FB9 #B9372F #6CB92F #2FB1B9
square
#7C2FB9 #B9372F #6CB92F #2FB1B9
split-complementary
#7C2FB9 #B1B92F #2FB937
monochromatic
#3B1657 #5B2388 #7C2FB9 #9A52D3 #B783DF
Accessibility & contrast
On white
7.08
#7C2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#7C2FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2FB9
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2FB9 | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#715172
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7c2fb9; /* rgb */ color: rgb(124, 47, 185); /* oklch */ color: oklch(48.7% 0.205 305.3);
Tailwind
colors: {
custom: {
50: '#a76fcf',
500: '#7c2fb9',
950: '#000000',
},
}SCSS
$custom: #7c2fb9; $custom-light: #a76fcf; $custom-dark: #000000;
JSON
{
"hex": "#7c2fb9",
"rgb": {
"r": 124,
"g": 47,
"b": 185
},
"hsl": {
"h": 273.478,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.48692,
"c": 0.20459,
"h": 305.3
},
"luminance": 0.09821
}Semantic roles & 50–950 ramp
primary
#7C2FB9
secondary
#9DC97B
accent
#E3458B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82