#7F2B76#7F2B76
#7F2B76 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.148 H 332.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2B76 |
|---|---|
| RGB | rgb(127, 43, 118) |
| HSL | hsl(306, 49%, 33%) |
| HSV | hsv(306, 66%, 50%) |
| CMYK | cmyk(0%, 66.1%, 7.1%, 50.2%) |
| CIE-LAB | lab(33.02, 45.55, -25.07) |
| CIE-LCH | lch(33.02, 51.99, 331.18°) |
| OKLab | oklab(44.19% 0.1306 -0.0687) |
| OKLCH | oklch(44.19% 0.148 332.3) |
| XYZ | xyz(12.8863, 7.5488, 17.9144) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.98
Warm Purple
#952E8F
ΔE00 5.48
Purple
#800080
ΔE00 5.50
Bruise
#7E4071
ΔE00 5.69
Darkmagenta
#8B008B
ΔE00 5.85
Grape
#6C3461
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2B76 #2B7F34
analogous
#5E2B7F #7F2B76 #7F2B4C
triadic
#7F2B76 #767F2B #2B767F
tetradic
#7F2B76 #7F5E2B #2B7F34 #2B4C7F
square
#7F2B76 #7F5E2B #2B7F34 #2B4C7F
split-complementary
#7F2B76 #4C7F2B #2B7F5E
monochromatic
#240C21 #511C4C #7F2B76 #AD3AA0 #C85CBC
Accessibility & contrast
On white
8.37
#7F2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#7F2B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2B76
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2B76 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#84334C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7f2b76; /* rgb */ color: rgb(127, 43, 118); /* oklch */ color: oklch(44.2% 0.148 332.3);
Tailwind
colors: {
custom: {
50: '#a76b9e',
500: '#7f2b76',
950: '#000000',
},
}SCSS
$custom: #7f2b76; $custom-light: #a76b9e; $custom-dark: #000000;
JSON
{
"hex": "#7f2b76",
"rgb": {
"r": 127,
"g": 43,
"b": 118
},
"hsl": {
"h": 306.429,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.44185,
"c": 0.14756,
"h": 332.3
},
"luminance": 0.07548
}Semantic roles & 50–950 ramp
primary
#7F2B76
secondary
#58AE61
accent
#D95E4F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E