#7D3C97#7D3C97
#7D3C97 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.0% C 0.152 H 315.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7D3C97 |
|---|---|
| RGB | rgb(125, 60, 151) |
| HSL | hsl(283, 43%, 41%) |
| HSV | hsv(283, 60%, 59%) |
| CMYK | cmyk(17.2%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(37.53, 43.37, -38.35) |
| CIE-LCH | lch(37.53, 57.89, 318.52°) |
| OKLab | oklab(48% 0.108 -0.1073) |
| OKLCH | oklch(48% 0.152 315.2) |
| XYZ | xyz(15.6583, 9.8266, 30.3440) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 5.43
Rebeccapurple
#663399
ΔE00 5.62
Warm Purple
#952E8F
ΔE00 5.97
Purply
#983FB2
ΔE00 6.22
Royal Purple
#7851A9
ΔE00 6.54
Light Eggplant
#894585
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D3C97 #56973C
analogous
#503C97 #7D3C97 #973C84
triadic
#7D3C97 #977D3C #3C977D
tetradic
#7D3C97 #97503C #56973C #3C8497
square
#7D3C97 #97503C #56973C #3C8497
split-complementary
#7D3C97 #84973C #3C9750
monochromatic
#34193F #592B6B #7D3C97 #9E55BB #B781CD
Accessibility & contrast
On white
7.08
#7D3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#7D3C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D3C97
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D3C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D3C97 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#7B4C64
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7d3c97; /* rgb */ color: rgb(125, 60, 151); /* oklch */ color: oklch(48.0% 0.152 315.2);
Tailwind
colors: {
custom: {
50: '#a575b6',
500: '#7d3c97',
950: '#000000',
},
}SCSS
$custom: #7d3c97; $custom-light: #a575b6; $custom-dark: #000000;
JSON
{
"hex": "#7d3c97",
"rgb": {
"r": 125,
"g": 60,
"b": 151
},
"hsl": {
"h": 282.857,
"s": 43.128,
"l": 41.373
},
"oklch": {
"l": 0.47996,
"c": 0.15227,
"h": 315.2
},
"luminance": 0.09826
}Semantic roles & 50–950 ramp
primary
#7D3C97
secondary
#8AB778
accent
#D35579
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80