#7B216E#7B216E
#7B216E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.152 H 334.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7B216E |
|---|---|
| RGB | rgb(123, 33, 110) |
| HSL | hsl(309, 58%, 31%) |
| HSV | hsv(309, 73%, 48%) |
| CMYK | cmyk(0%, 73.2%, 10.6%, 51.8%) |
| CIE-LAB | lab(30.46, 47.23, -24.06) |
| CIE-LCH | lch(30.46, 53.00, 333.01°) |
| OKLab | oklab(42.06% 0.1372 -0.0658) |
| OKLCH | oklch(42.06% 0.152 334.4) |
| XYZ | xyz(11.5268, 6.4254, 15.3820) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.83
Purple
#800080
ΔE00 4.97
Rich Purple
#720058
ΔE00 5.23
Grape
#6C3461
ΔE00 6.00
Darkmagenta
#8B008B
ΔE00 6.09
Velvet
#750851
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B216E #217B2E
analogous
#5B217B #7B216E #7B2141
triadic
#7B216E #6E7B21 #216E7B
tetradic
#7B216E #7B5B21 #217B2E #21417B
square
#7B216E #7B5B21 #217B2E #21417B
split-complementary
#7B216E #417B21 #217B5B
monochromatic
#1A0718 #4B1443 #7B216E #AB2E99 #CE48BB
Accessibility & contrast
On white
9.19
#7B216E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7B216E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B216E
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B216E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B216E | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#3F4C6C
Tritanopia (blue-blind)
#812845
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7b216e; /* rgb */ color: rgb(123, 33, 110); /* oklch */ color: oklch(42.1% 0.152 334.4);
Tailwind
colors: {
custom: {
50: '#a46598',
500: '#7b216e',
950: '#000000',
},
}SCSS
$custom: #7b216e; $custom-light: #a46598; $custom-dark: #000000;
JSON
{
"hex": "#7b216e",
"rgb": {
"r": 123,
"g": 33,
"b": 110
},
"hsl": {
"h": 308.667,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.42058,
"c": 0.15217,
"h": 334.4
},
"luminance": 0.06424
}Semantic roles & 50–950 ramp
primary
#7B216E
secondary
#4AAE58
accent
#E15D47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E