#7B196F#7B196F
#7B196F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.162 H 333.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7B196F |
|---|---|
| RGB | rgb(123, 25, 111) |
| HSL | hsl(307, 66%, 29%) |
| HSV | hsv(307, 80%, 48%) |
| CMYK | cmyk(0%, 79.7%, 9.8%, 51.8%) |
| CIE-LAB | lab(29.55, 50.14, -26.13) |
| CIE-LCH | lch(29.55, 56.54, 332.47°) |
| OKLab | oklab(41.42% 0.1454 -0.0717) |
| OKLCH | oklch(41.42% 0.162 333.8) |
| XYZ | xyz(11.3854, 6.0549, 15.6049) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.98
Purple
#800080
ΔE00 3.96
Rich Purple
#720058
ΔE00 4.88
Darkmagenta
#8B008B
ΔE00 5.40
Velvet
#750851
ΔE00 6.54
Grape Purple
#5D1451
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B196F #197B25
analogous
#56197B #7B196F #7B193E
triadic
#7B196F #6F7B19 #196F7B
tetradic
#7B196F #7B5619 #197B25 #193E7B
square
#7B196F #7B5619 #197B25 #193E7B
split-complementary
#7B196F #3E7B19 #197B56
monochromatic
#190517 #480F41 #7B196F #AE239D #D738C3
Accessibility & contrast
On white
9.50
#7B196F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7B196F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B196F
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B196F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B196F | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#812343
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7b196f; /* rgb */ color: rgb(123, 25, 111); /* oklch */ color: oklch(41.4% 0.162 333.8);
Tailwind
colors: {
custom: {
50: '#a56298',
500: '#7b196f',
950: '#000000',
},
}SCSS
$custom: #7b196f; $custom-light: #a56298; $custom-dark: #000000;
JSON
{
"hex": "#7b196f",
"rgb": {
"r": 123,
"g": 25,
"b": 111
},
"hsl": {
"h": 307.347,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.4142,
"c": 0.16209,
"h": 333.8
},
"luminance": 0.06054
}Semantic roles & 50–950 ramp
primary
#7B196F
secondary
#40AF4E
accent
#E9543F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E