#7D137A#7D137A

#7D137A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.177 H 329.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7D137A
RGBrgb(125, 19, 122)
HSLhsl(302, 74%, 28%)
HSVhsv(302, 85%, 49%)
CMYKcmyk(0%, 84.8%, 2.4%, 51%)
CIE-LABlab(29.99, 54.01, -32.41)
CIE-LCHlch(29.99, 62.98, 329.03°)
OKLaboklab(42.01% 0.1524 -0.0898)
OKLCHoklch(42.01% 0.177 329.5)
XYZxyz(12.2031, 6.2318, 18.9687)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D137A #137D16
analogous
#4B137D #7D137A #7D1345
triadic
#7D137A #7A7D13 #137A7D
tetradic
#7D137A #7D4B13 #137D16 #13457D
square
#7D137A #7D4B13 #137D16 #13457D
split-complementary
#7D137A #457D13 #137D4B
monochromatic
#1B041A #480B46 #7D137A #B21BAE #DF2CDA

Accessibility & contrast

On white

9.35
#7D137A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D137A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D137A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D137A#FFFFFF#000000##FFFFFF
##7D137A1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#364B78
Tritanopia (blue-blind)
#822548
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d137a;
/* rgb */ color: rgb(125, 19, 122);
/* oklch */ color: oklch(42.0% 0.177 329.5);
Tailwind
colors: {
  custom: {
    50: '#a661a1',
    500: '#7d137a',
    950: '#000000',
  },
}
SCSS
$custom: #7d137a;
$custom-light: #a661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d137a",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 122
  },
  "hsl": {
    "h": 301.698,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42009,
    "c": 0.17683,
    "h": 329.5
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#7D137A
secondary
#39B33D
accent
#F03D38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D137A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7D137A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva