#7B216F#7B216F
#7B216F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.153 H 333.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7B216F |
|---|---|
| RGB | rgb(123, 33, 111) |
| HSL | hsl(308, 58%, 31%) |
| HSV | hsv(308, 73%, 48%) |
| CMYK | cmyk(0%, 73.2%, 9.8%, 51.8%) |
| CIE-LAB | lab(30.51, 47.39, -24.61) |
| CIE-LCH | lch(30.51, 53.40, 332.55°) |
| OKLab | oklab(42.11% 0.1373 -0.0674) |
| OKLCH | oklch(42.11% 0.153 333.9) |
| XYZ | xyz(11.5816, 6.4473, 15.6703) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.65
Purple
#800080
ΔE00 4.77
Rich Purple
#720058
ΔE00 5.37
Darkmagenta
#8B008B
ΔE00 5.90
Grape
#6C3461
ΔE00 6.13
Velvet
#750851
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B216F #217B2D
analogous
#5A217B #7B216F #7B2142
triadic
#7B216F #6F7B21 #216F7B
tetradic
#7B216F #7B5A21 #217B2D #21427B
square
#7B216F #7B5A21 #217B2D #21427B
split-complementary
#7B216F #427B21 #217B5A
monochromatic
#1A0718 #4B1443 #7B216F #AB2E9B #CE48BC
Accessibility & contrast
On white
9.17
#7B216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7B216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B216F
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B216F | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3F71
Deuteranopia (green-blind)
#3F4D6D
Tritanopia (blue-blind)
#812945
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7b216f; /* rgb */ color: rgb(123, 33, 111); /* oklch */ color: oklch(42.1% 0.153 333.9);
Tailwind
colors: {
custom: {
50: '#a46598',
500: '#7b216f',
950: '#000000',
},
}SCSS
$custom: #7b216f; $custom-light: #a46598; $custom-dark: #000000;
JSON
{
"hex": "#7b216f",
"rgb": {
"r": 123,
"g": 33,
"b": 111
},
"hsl": {
"h": 308,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.42113,
"c": 0.15296,
"h": 333.9
},
"luminance": 0.06446
}Semantic roles & 50–950 ramp
primary
#7B216F
secondary
#4AAE57
accent
#E15B47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E