#7F296C#7F296C
#7F296C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.142 H 337.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F296C |
|---|---|
| RGB | rgb(127, 41, 108) |
| HSL | hsl(313, 51%, 33%) |
| HSV | hsv(313, 68%, 50%) |
| CMYK | cmyk(0%, 67.7%, 15%, 50.2%) |
| CIE-LAB | lab(32.22, 44.75, -19.99) |
| CIE-LCH | lch(32.22, 49.01, 335.93°) |
| OKLab | oklab(43.44% 0.1318 -0.0541) |
| OKLCH | oklch(43.44% 0.142 337.7) |
| XYZ | xyz(12.2523, 7.1817, 14.9254) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.03
Grape
#6C3461
ΔE00 5.03
Bruise
#7E4071
ΔE00 5.28
Rich Purple
#720058
ΔE00 6.15
Velvet
#750851
ΔE00 6.45
Red Violet
#9E0168
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F296C #297F3C
analogous
#67297F #7F296C #7F2941
triadic
#7F296C #6C7F29 #296C7F
tetradic
#7F296C #7F6729 #297F3C #29417F
square
#7F296C #7F6729 #297F3C #29417F
split-complementary
#7F296C #417F29 #297F67
monochromatic
#220B1D #511A45 #7F296C #AD3893 #C959B1
Accessibility & contrast
On white
8.62
#7F296C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#7F296C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F296C
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F296C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F296C | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#47516A
Tritanopia (blue-blind)
#862D46
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7f296c; /* rgb */ color: rgb(127, 41, 108); /* oklch */ color: oklch(43.4% 0.142 337.7);
Tailwind
colors: {
custom: {
50: '#a76a96',
500: '#7f296c',
950: '#000000',
},
}SCSS
$custom: #7f296c; $custom-light: #a76a96; $custom-dark: #000000;
JSON
{
"hex": "#7f296c",
"rgb": {
"r": 127,
"g": 41,
"b": 108
},
"hsl": {
"h": 313.256,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.43435,
"c": 0.14245,
"h": 337.7
},
"luminance": 0.07181
}Semantic roles & 50–950 ramp
primary
#7F296C
secondary
#55AF69
accent
#DB6C4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E