#7F3166#7F3166
#7F3166 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.1% C 0.126 H 342.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3166 |
|---|---|
| RGB | rgb(127, 49, 102) |
| HSL | hsl(319, 44%, 35%) |
| HSV | hsv(319, 61%, 50%) |
| CMYK | cmyk(0%, 61.4%, 19.7%, 50.2%) |
| CIE-LAB | lab(33.28, 40.13, -14.52) |
| CIE-LCH | lch(33.28, 42.67, 340.11°) |
| OKLab | oklab(44.13% 0.1195 -0.0388) |
| OKLCH | oklch(44.13% 0.126 342) |
| XYZ | xyz(12.2493, 7.6690, 13.4029) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.96
Grape
#6C3461
ΔE00 4.20
Velvet
#750851
ΔE00 6.82
Red Violet
#9E0168
ΔE00 6.90
Light Eggplant
#894585
ΔE00 7.34
Rich Purple
#720058
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3166 #317F4A
analogous
#71317F #7F3166 #7F313F
triadic
#7F3166 #667F31 #31667F
tetradic
#7F3166 #7F7131 #317F4A #313F7F
square
#7F3166 #7F7131 #317F4A #313F7F
split-complementary
#7F3166 #3F7F31 #317F71
monochromatic
#270F1F #532043 #7F3166 #AB4289 #C466A6
Accessibility & contrast
On white
8.29
#7F3166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#7F3166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F3166
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3166 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364668
Deuteranopia (green-blind)
#4D5364
Tritanopia (blue-blind)
#873247
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7f3166; /* rgb */ color: rgb(127, 49, 102); /* oklch */ color: oklch(44.1% 0.126 342.0);
Tailwind
colors: {
custom: {
50: '#a76e91',
500: '#7f3166',
950: '#000000',
},
}SCSS
$custom: #7f3166; $custom-light: #a76e91; $custom-dark: #000000;
JSON
{
"hex": "#7f3166",
"rgb": {
"r": 127,
"g": 49,
"b": 102
},
"hsl": {
"h": 319.231,
"s": 44.318,
"l": 34.51
},
"oklch": {
"l": 0.44129,
"c": 0.12568,
"h": 342
},
"luminance": 0.07668
}Semantic roles & 50–950 ramp
primary
#7F3166
secondary
#60AB78
accent
#D47D54
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070D
muted
#7F7A7D