#7E137A#7E137A

#7E137A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.177 H 329.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7E137A
RGBrgb(126, 19, 122)
HSLhsl(302, 74%, 28%)
HSVhsv(302, 85%, 49%)
CMYKcmyk(0%, 84.9%, 3.2%, 50.6%)
CIE-LABlab(30.18, 54.22, -32.10)
CIE-LCHlch(30.18, 63.01, 329.37°)
OKLaboklab(42.18% 0.1534 -0.0888)
OKLCHoklch(42.18% 0.177 329.9)
XYZxyz(12.3499, 6.3075, 18.9756)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E137A #137E17
analogous
#4C137E #7E137A #7E1344
triadic
#7E137A #7A7E13 #137A7E
tetradic
#7E137A #7E4C13 #137E17 #13447E
square
#7E137A #7E4C13 #137E17 #13447E
split-complementary
#7E137A #447E13 #137E4C
monochromatic
#1B041A #490B47 #7E137A #B31BAD #DF2CD9

Accessibility & contrast

On white

9.29
#7E137A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E137A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E137A#FFFFFF#000000##FFFFFF
##7E137A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#374C78
Tritanopia (blue-blind)
#832548
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e137a;
/* rgb */ color: rgb(126, 19, 122);
/* oklch */ color: oklch(42.2% 0.177 329.9);
Tailwind
colors: {
  custom: {
    50: '#a761a1',
    500: '#7e137a',
    950: '#000000',
  },
}
SCSS
$custom: #7e137a;
$custom-light: #a761a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e137a",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 122
  },
  "hsl": {
    "h": 302.243,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42176,
    "c": 0.1773,
    "h": 329.9
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#7E137A
secondary
#39B43E
accent
#F03E37
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7E137A

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

Preview Lab → · Contrast checker → · Palette generator →

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