#7B196B#7B196B
#7B196B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.159 H 335.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7B196B |
|---|---|
| RGB | rgb(123, 25, 107) |
| HSL | hsl(310, 66%, 29%) |
| HSV | hsv(310, 80%, 48%) |
| CMYK | cmyk(0%, 79.7%, 13%, 51.8%) |
| CIE-LAB | lab(29.33, 49.51, -23.90) |
| CIE-LCH | lch(29.33, 54.98, 334.23°) |
| OKLab | oklab(41.19% 0.1451 -0.0653) |
| OKLCH | oklch(41.19% 0.159 335.8) |
| XYZ | xyz(11.1700, 5.9688, 14.4709) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.80
Rich Purple
#720058
ΔE00 4.22
Purple
#800080
ΔE00 4.80
Velvet
#750851
ΔE00 5.67
Darkmagenta
#8B008B
ΔE00 6.19
Grape Purple
#5D1451
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B196B #197B29
analogous
#5A197B #7B196B #7B193A
triadic
#7B196B #6B7B19 #196B7B
tetradic
#7B196B #7B5A19 #197B29 #193A7B
square
#7B196B #7B5A19 #197B29 #193A7B
split-complementary
#7B196B #3A7B19 #197B5A
monochromatic
#190516 #480F3F #7B196B #AE2397 #D738BD
Accessibility & contrast
On white
9.57
#7B196B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7B196B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B196B
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B196B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B196B | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#3E4A69
Tritanopia (blue-blind)
#822141
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7b196b; /* rgb */ color: rgb(123, 25, 107); /* oklch */ color: oklch(41.2% 0.159 335.8);
Tailwind
colors: {
custom: {
50: '#a56295',
500: '#7b196b',
950: '#000000',
},
}SCSS
$custom: #7b196b; $custom-light: #a56295; $custom-dark: #000000;
JSON
{
"hex": "#7b196b",
"rgb": {
"r": 123,
"g": 25,
"b": 107
},
"hsl": {
"h": 309.796,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.41194,
"c": 0.15912,
"h": 335.8
},
"luminance": 0.05968
}Semantic roles & 50–950 ramp
primary
#7B196B
secondary
#40AF52
accent
#E95A3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E