#7B145E#7B145E
#7B145E is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.155 H 342.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7B145E |
|---|---|
| RGB | rgb(123, 20, 94) |
| HSL | hsl(317, 72%, 28%) |
| HSV | hsv(317, 84%, 48%) |
| CMYK | cmyk(0%, 83.7%, 23.6%, 51.8%) |
| CIE-LAB | lab(28.17, 49.07, -17.29) |
| CIE-LCH | lch(28.17, 52.02, 340.59°) |
| OKLab | oklab(40.14% 0.148 -0.0464) |
| OKLCH | oklch(40.14% 0.155 342.6) |
| XYZ | xyz(10.4393, 5.5205, 11.1033) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.77
Velvet
#750851
ΔE00 2.82
Darkish Purple
#751973
ΔE00 5.67
Grape Purple
#5D1451
ΔE00 6.05
Grape
#6C3461
ΔE00 6.60
Red Violet
#9E0168
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B145E #147B31
analogous
#64147B #7B145E #7B142B
triadic
#7B145E #5E7B14 #145E7B
tetradic
#7B145E #7B6414 #147B31 #142B7B
square
#7B145E #7B6414 #147B31 #142B7B
split-complementary
#7B145E #2B7B14 #147B64
monochromatic
#1A0414 #460B36 #7B145E #B01D86 #DD2DAB
Accessibility & contrast
On white
9.98
#7B145E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7B145E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B145E
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B145E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B145E | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203860
Deuteranopia (green-blind)
#41485C
Tritanopia (blue-blind)
#831538
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7b145e; /* rgb */ color: rgb(123, 20, 94); /* oklch */ color: oklch(40.1% 0.155 342.6);
Tailwind
colors: {
custom: {
50: '#a5608c',
500: '#7b145e',
950: '#000000',
},
}SCSS
$custom: #7b145e; $custom-light: #a5608c; $custom-dark: #000000;
JSON
{
"hex": "#7b145e",
"rgb": {
"r": 123,
"g": 20,
"b": 94
},
"hsl": {
"h": 316.893,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.40142,
"c": 0.15508,
"h": 342.6
},
"luminance": 0.05519
}Semantic roles & 50–950 ramp
primary
#7B145E
secondary
#3AB15C
accent
#EF6C39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D