#7F2175#7F2175
#7F2175 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.160 H 332.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2175 |
|---|---|
| RGB | rgb(127, 33, 117) |
| HSL | hsl(306, 59%, 31%) |
| HSV | hsv(306, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 7.9%, 50.2%) |
| CIE-LAB | lab(31.54, 49.39, -26.76) |
| CIE-LCH | lch(31.54, 56.17, 331.55°) |
| OKLab | oklab(43.1% 0.1422 -0.0735) |
| OKLCH | oklch(43.1% 0.16 332.7) |
| XYZ | xyz(12.5072, 6.8851, 17.4964) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.66
Purple
#800080
ΔE00 4.06
Darkmagenta
#8B008B
ΔE00 4.83
Warm Purple
#952E8F
ΔE00 6.03
Rich Purple
#720058
ΔE00 6.35
Grape
#6C3461
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2175 #217F2B
analogous
#5A217F #7F2175 #7F2146
triadic
#7F2175 #757F21 #21757F
tetradic
#7F2175 #7F5A21 #217F2B #21467F
square
#7F2175 #7F5A21 #217F2B #21467F
split-complementary
#7F2175 #467F21 #217F5A
monochromatic
#1E081B #4E1448 #7F2175 #B02EA2 #D04AC2
Accessibility & contrast
On white
8.84
#7F2175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#7F2175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2175
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2175 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4277
Deuteranopia (green-blind)
#404F73
Tritanopia (blue-blind)
#852B48
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f2175; /* rgb */ color: rgb(127, 33, 117); /* oklch */ color: oklch(43.1% 0.160 332.7);
Tailwind
colors: {
custom: {
50: '#a7669d',
500: '#7f2175',
950: '#000000',
},
}SCSS
$custom: #7f2175; $custom-light: #a7669d; $custom-dark: #000000;
JSON
{
"hex": "#7f2175",
"rgb": {
"r": 127,
"g": 33,
"b": 117
},
"hsl": {
"h": 306.383,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.43096,
"c": 0.16004,
"h": 332.7
},
"luminance": 0.06884
}Semantic roles & 50–950 ramp
primary
#7F2175
secondary
#4AB255
accent
#E25646
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E