#7D137E#7D137E

#7D137E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.180 H 327.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7D137E
RGBrgb(125, 19, 126)
HSLhsl(299, 74%, 28%)
HSVhsv(299, 85%, 49%)
CMYKcmyk(0.8%, 84.9%, 0%, 50.6%)
CIE-LABlab(30.24, 54.67, -34.54)
CIE-LCHlch(30.24, 64.67, 327.72°)
OKLaboklab(42.26% 0.1522 -0.096)
OKLCHoklch(42.26% 0.18 327.8)
XYZxyz(12.4561, 6.3330, 20.3010)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D137E #147E13
analogous
#47137E #7D137E #7E1349
triadic
#7D137E #7E7D13 #137E7D
tetradic
#7D137E #7E4713 #147E13 #13497E
square
#7D137E #7E4713 #147E13 #13497E
split-complementary
#7D137E #497E13 #137E47
monochromatic
#1A041B #480B49 #7D137E #B21BB3 #DE2CDF

Accessibility & contrast

On white

9.27
#7D137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D137E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D137E#FFFFFF#000000##FFFFFF
##7D137E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#81284A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d137e;
/* rgb */ color: rgb(125, 19, 126);
/* oklch */ color: oklch(42.3% 0.180 327.8);
Tailwind
colors: {
  custom: {
    50: '#a661a4',
    500: '#7d137e',
    950: '#000000',
  },
}
SCSS
$custom: #7d137e;
$custom-light: #a661a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d137e",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 299.439,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42264,
    "c": 0.17988,
    "h": 327.8
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#7D137E
secondary
#3AB439
accent
#F03739
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D137E

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

Preview Lab → · Contrast checker → · Palette generator →

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