#7B137F#7B137F
#7B137F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.180 H 326.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7B137F |
|---|---|
| RGB | rgb(123, 19, 127) |
| HSL | hsl(298, 74%, 29%) |
| HSV | hsv(298, 85%, 50%) |
| CMYK | cmyk(3.1%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(29.94, 54.44, -35.67) |
| CIE-LCH | lch(29.94, 65.08, 326.77°) |
| OKLab | oklab(42% 0.1499 -0.0993) |
| OKLCH | oklch(42% 0.18 326.5) |
| XYZ | xyz(12.2318, 6.2099, 20.6289) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple
#800080
ΔE00 1.30
Darkish Purple
#751973
ΔE00 2.35
Darkmagenta
#8B008B
ΔE00 3.03
Purple (survey)
#7E1E9C
ΔE00 5.26
Warm Purple
#952E8F
ΔE00 7.09
Barney Purple
#A00498
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B137F #177F13
analogous
#45137F #7B137F #7F134D
triadic
#7B137F #7F7B13 #137F7B
tetradic
#7B137F #7F4513 #177F13 #134D7F
square
#7B137F #7F4513 #177F13 #134D7F
split-complementary
#7B137F #4D7F13 #137F45
monochromatic
#1A041B #470B4A #7B137F #AF1BB4 #D92DE0
Accessibility & contrast
On white
9.37
#7B137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7B137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B137F
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B137F | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#7E294B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7b137f; /* rgb */ color: rgb(123, 19, 127); /* oklch */ color: oklch(42.0% 0.180 326.5);
Tailwind
colors: {
custom: {
50: '#a561a5',
500: '#7b137f',
950: '#000000',
},
}SCSS
$custom: #7b137f; $custom-light: #a561a5; $custom-dark: #000000;
JSON
{
"hex": "#7b137f",
"rgb": {
"r": 123,
"g": 19,
"b": 127
},
"hsl": {
"h": 297.778,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.42002,
"c": 0.17977,
"h": 326.5
},
"luminance": 0.06209
}Semantic roles & 50–950 ramp
primary
#7B137F
secondary
#3EB439
accent
#F1373E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F