#7D2F93#7D2F93
#7D2F93 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 318.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2F93 |
|---|---|
| RGB | rgb(125, 47, 147) |
| HSL | hsl(287, 52%, 38%) |
| HSV | hsv(287, 68%, 58%) |
| CMYK | cmyk(15%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(35.00, 48.79, -39.94) |
| CIE-LCH | lch(35.00, 63.05, 320.69°) |
| OKLab | oklab(46.09% 0.1243 -0.1119) |
| OKLCH | oklch(46.09% 0.167 318) |
| XYZ | xyz(14.7397, 8.5002, 28.4624) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.12
Darkmagenta
#8B008B
ΔE00 5.22
Rebeccapurple
#663399
ΔE00 5.32
Warm Purple
#952E8F
ΔE00 5.51
Purple
#800080
ΔE00 6.02
Darkish Purple
#751973
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2F93 #45932F
analogous
#4B2F93 #7D2F93 #932F77
triadic
#7D2F93 #937D2F #2F937D
tetradic
#7D2F93 #934B2F #45932F #2F7793
square
#7D2F93 #934B2F #45932F #2F7793
split-complementary
#7D2F93 #77932F #2F934B
monochromatic
#2E1136 #562065 #7D2F93 #A43EC1 #BA6CD0
Accessibility & contrast
On white
7.78
#7D2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#7D2F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D2F93
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2F93 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054D96
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#7C415D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #7d2f93; /* rgb */ color: rgb(125, 47, 147); /* oklch */ color: oklch(46.1% 0.167 318.0);
Tailwind
colors: {
custom: {
50: '#a66eb3',
500: '#7d2f93',
950: '#000000',
},
}SCSS
$custom: #7d2f93; $custom-light: #a66eb3; $custom-dark: #000000;
JSON
{
"hex": "#7d2f93",
"rgb": {
"r": 125,
"g": 47,
"b": 147
},
"hsl": {
"h": 286.8,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.46089,
"c": 0.16728,
"h": 318
},
"luminance": 0.085
}Semantic roles & 50–950 ramp
primary
#7D2F93
secondary
#78B766
accent
#DB4D6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80