#7D137C#7D137C

#7D137C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.178 H 328.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7D137C
RGBrgb(125, 19, 124)
HSLhsl(301, 74%, 28%)
HSVhsv(301, 85%, 49%)
CMYKcmyk(0%, 84.8%, 0.8%, 51%)
CIE-LABlab(30.11, 54.34, -33.48)
CIE-LCHlch(30.11, 63.82, 328.36°)
OKLaboklab(42.14% 0.1523 -0.0929)
OKLCHoklch(42.14% 0.178 328.6)
XYZxyz(12.3283, 6.2819, 19.6281)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D137C #137D14
analogous
#49137D #7D137C #7D1347
triadic
#7D137C #7C7D13 #137C7D
tetradic
#7D137C #7D4913 #137D14 #13477D
square
#7D137C #7D4913 #137D14 #13477D
split-complementary
#7D137C #477D13 #137D49
monochromatic
#1B041A #480B47 #7D137C #B21BB1 #DF2CDD

Accessibility & contrast

On white

9.31
#7D137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D137C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D137C#FFFFFF#000000##FFFFFF
##7D137C1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#354C7A
Tritanopia (blue-blind)
#812649
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d137c;
/* rgb */ color: rgb(125, 19, 124);
/* oklch */ color: oklch(42.1% 0.178 328.6);
Tailwind
colors: {
  custom: {
    50: '#a661a2',
    500: '#7d137c',
    950: '#000000',
  },
}
SCSS
$custom: #7d137c;
$custom-light: #a661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d137c",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 300.566,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.17835,
    "h": 328.6
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#7D137C
secondary
#39B33A
accent
#F03938
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D137C

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

Preview Lab → · Contrast checker → · Palette generator →

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