#7D137F#7D137F

#7D137F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.181 H 327.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7D137F
RGBrgb(125, 19, 127)
HSLhsl(299, 74%, 29%)
HSVhsv(299, 85%, 50%)
CMYKcmyk(1.6%, 85%, 0%, 50.2%)
CIE-LABlab(30.30, 54.84, -35.07)
CIE-LCHlch(30.30, 65.09, 327.40°)
OKLaboklab(42.33% 0.1521 -0.0975)
OKLCHoklch(42.33% 0.181 327.3)
XYZxyz(12.5209, 6.3590, 20.6425)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D137F #157F13
analogous
#47137F #7D137F #7F134B
triadic
#7D137F #7F7D13 #137F7D
tetradic
#7D137F #7F4713 #157F13 #134B7F
square
#7D137F #7F4713 #157F13 #134B7F
split-complementary
#7D137F #4B7F13 #137F47
monochromatic
#1A041B #490B4A #7D137F #B11BB4 #DC2DE0

Accessibility & contrast

On white

9.24
#7D137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D137F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D137F#FFFFFF#000000##FFFFFF
##7D137F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#81284B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d137f;
/* rgb */ color: rgb(125, 19, 127);
/* oklch */ color: oklch(42.3% 0.181 327.3);
Tailwind
colors: {
  custom: {
    50: '#a661a4',
    500: '#7d137f',
    950: '#000000',
  },
}
SCSS
$custom: #7d137f;
$custom-light: #a661a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d137f",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 298.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42329,
    "c": 0.18065,
    "h": 327.3
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#7D137F
secondary
#3CB439
accent
#F1373B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D137F

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

Preview Lab → · Contrast checker → · Palette generator →

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