#7F206F#7F206F
#7F206F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.157 H 335.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7F206F |
|---|---|
| RGB | rgb(127, 32, 111) |
| HSL | hsl(310, 60%, 31%) |
| HSV | hsv(310, 75%, 50%) |
| CMYK | cmyk(0%, 74.8%, 12.6%, 50.2%) |
| CIE-LAB | lab(31.10, 48.78, -23.64) |
| CIE-LCH | lch(31.10, 54.21, 334.14°) |
| OKLab | oklab(42.67% 0.1427 -0.0645) |
| OKLCH | oklch(42.67% 0.157 335.7) |
| XYZ | xyz(12.1383, 6.6938, 15.6886) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.35
Purple
#800080
ΔE00 5.04
Rich Purple
#720058
ΔE00 5.42
Darkmagenta
#8B008B
ΔE00 5.92
Grape
#6C3461
ΔE00 6.35
Velvet
#750851
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F206F #207F30
analogous
#5F207F #7F206F #7F203F
triadic
#7F206F #6F7F20 #206F7F
tetradic
#7F206F #7F5F20 #207F30 #203F7F
square
#7F206F #7F5F20 #207F30 #203F7F
split-complementary
#7F206F #3F7F20 #207F5F
monochromatic
#1D071A #4E1444 #7F206F #B02C9A #D148BA
Accessibility & contrast
On white
8.98
#7F206F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7F206F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F206F
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F206F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F206F | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#424E6D
Tritanopia (blue-blind)
#862745
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f206f; /* rgb */ color: rgb(127, 32, 111); /* oklch */ color: oklch(42.7% 0.157 335.7);
Tailwind
colors: {
custom: {
50: '#a76698',
500: '#7f206f',
950: '#000000',
},
}SCSS
$custom: #7f206f; $custom-light: #a76698; $custom-dark: #000000;
JSON
{
"hex": "#7f206f",
"rgb": {
"r": 127,
"g": 32,
"b": 111
},
"hsl": {
"h": 310.105,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.42673,
"c": 0.15663,
"h": 335.7
},
"luminance": 0.06693
}Semantic roles & 50–950 ramp
primary
#7F206F
secondary
#49B25B
accent
#E36045
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E