#7C2FB2#7C2FB2
#7C2FB2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.2% C 0.198 H 307.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2FB2 |
|---|---|
| RGB | rgb(124, 47, 178) |
| HSL | hsl(275, 58%, 44%) |
| HSV | hsv(275, 74%, 70%) |
| CMYK | cmyk(30.3%, 73.6%, 0%, 30.2%) |
| CIE-LAB | lab(36.99, 55.30, -55.41) |
| CIE-LCH | lch(36.99, 78.28, 314.94°) |
| OKLab | oklab(48.15% 0.1195 -0.1574) |
| OKLCH | oklch(48.15% 0.198 307.2) |
| XYZ | xyz(17.3629, 9.5327, 43.0362) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.54
Rebeccapurple
#663399
ΔE00 5.03
Darkviolet
#9400D3
ΔE00 5.63
Darkorchid
#9932CC
ΔE00 6.22
Blueviolet
#8A2BE2
ΔE00 6.81
Purply
#983FB2
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2FB2 #65B22F
analogous
#3B2FB2 #7C2FB2 #B22FA7
triadic
#7C2FB2 #B27C2F #2FB27C
tetradic
#7C2FB2 #B23B2F #65B22F #2FA7B2
square
#7C2FB2 #B23B2F #65B22F #2FA7B2
split-complementary
#7C2FB2 #A7B22F #2FB23B
monochromatic
#391551 #5A2282 #7C2FB2 #9B4ED0 #B67EDD
Accessibility & contrast
On white
7.23
#7C2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#7C2FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2FB2
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2FB2 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#734E6E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7c2fb2; /* rgb */ color: rgb(124, 47, 178); /* oklch */ color: oklch(48.2% 0.198 307.2);
Tailwind
colors: {
custom: {
50: '#a76fca',
500: '#7c2fb2',
950: '#000000',
},
}SCSS
$custom: #7c2fb2; $custom-light: #a76fca; $custom-dark: #000000;
JSON
{
"hex": "#7c2fb2",
"rgb": {
"r": 124,
"g": 47,
"b": 178
},
"hsl": {
"h": 275.267,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.48152,
"c": 0.19761,
"h": 307.2
},
"luminance": 0.09532
}Semantic roles & 50–950 ramp
primary
#7C2FB2
secondary
#97C677
accent
#E14686
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82