#7C29AB#7C29AB
#7C29AB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.197 H 309.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7C29AB |
|---|---|
| RGB | rgb(124, 41, 171) |
| HSL | hsl(278, 61%, 42%) |
| HSV | hsv(278, 76%, 67%) |
| CMYK | cmyk(27.5%, 76%, 0%, 32.9%) |
| CIE-LAB | lab(35.62, 56.17, -53.47) |
| CIE-LCH | lch(35.62, 77.55, 316.41°) |
| OKLab | oklab(47.02% 0.1265 -0.1516) |
| OKLCH | oklch(47.02% 0.197 309.8) |
| XYZ | xyz(16.4543, 8.8116, 39.3542) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.04
Rebeccapurple
#663399
ΔE00 4.64
Darkviolet
#9400D3
ΔE00 6.17
Darkorchid
#9932CC
ΔE00 7.18
Purply
#983FB2
ΔE00 7.49
Darkmagenta
#8B008B
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C29AB #58AB29
analogous
#3B29AB #7C29AB #AB2999
triadic
#7C29AB #AB7C29 #29AB7C
tetradic
#7C29AB #AB3B29 #58AB29 #2999AB
square
#7C29AB #AB3B29 #58AB29 #2999AB
split-complementary
#7C29AB #99AB29 #29AB3B
monochromatic
#341148 #581D7A #7C29AB #9D40D1 #B671DD
Accessibility & contrast
On white
7.60
#7C29AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#7C29AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C29AB
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C29AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C29AB | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0155A8
Tritanopia (blue-blind)
#754869
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7c29ab; /* rgb */ color: rgb(124, 41, 171); /* oklch */ color: oklch(47.0% 0.197 309.8);
Tailwind
colors: {
custom: {
50: '#a76cc5',
500: '#7c29ab',
950: '#000000',
},
}SCSS
$custom: #7c29ab; $custom-light: #a76cc5; $custom-dark: #000000;
JSON
{
"hex": "#7c29ab",
"rgb": {
"r": 124,
"g": 41,
"b": 171
},
"hsl": {
"h": 278.308,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.4702,
"c": 0.19742,
"h": 309.8
},
"luminance": 0.08811
}Semantic roles & 50–950 ramp
primary
#7C29AB
secondary
#8CC46C
accent
#E4437E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82