#7D2D9F#7D2D9F
#7D2D9F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.182 H 313.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2D9F |
|---|---|
| RGB | rgb(125, 45, 159) |
| HSL | hsl(282, 56%, 40%) |
| HSV | hsv(282, 72%, 62%) |
| CMYK | cmyk(21.4%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(35.48, 52.17, -46.47) |
| CIE-LCH | lch(35.48, 69.87, 318.31°) |
| OKLab | oklab(46.68% 0.1257 -0.131) |
| OKLCH | oklch(46.68% 0.182 313.8) |
| XYZ | xyz(15.6528, 8.7405, 33.6567) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.25
Rebeccapurple
#663399
ΔE00 4.48
Darkmagenta
#8B008B
ΔE00 6.20
Warm Purple
#952E8F
ΔE00 6.93
Purply
#983FB2
ΔE00 7.06
Purple
#800080
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2D9F #4F9F2D
analogous
#442D9F #7D2D9F #9F2D88
triadic
#7D2D9F #9F7D2D #2D9F7D
tetradic
#7D2D9F #9F442D #4F9F2D #2D889F
square
#7D2D9F #9F442D #4F9F2D #2D889F
split-complementary
#7D2D9F #889F2D #2D9F44
monochromatic
#321240 #57206F #7D2D9F #A040C9 #B870D6
Accessibility & contrast
On white
7.64
#7D2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#7D2D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D2D9F
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2D9F | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#25559C
Tritanopia (blue-blind)
#7A4563
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7d2d9f; /* rgb */ color: rgb(125, 45, 159); /* oklch */ color: oklch(46.7% 0.182 313.8);
Tailwind
colors: {
custom: {
50: '#a66dbc',
500: '#7d2d9f',
950: '#000000',
},
}SCSS
$custom: #7d2d9f; $custom-light: #a66dbc; $custom-dark: #000000;
JSON
{
"hex": "#7d2d9f",
"rgb": {
"r": 125,
"g": 45,
"b": 159
},
"hsl": {
"h": 282.105,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.46681,
"c": 0.18155,
"h": 313.8
},
"luminance": 0.0874
}Semantic roles & 50–950 ramp
primary
#7D2D9F
secondary
#83BE6A
accent
#DF4976
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81