#7E137C#7E137C

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

Color values

HEX#7E137C
RGBrgb(126, 19, 124)
HSLhsl(301, 74%, 28%)
HSVhsv(301, 85%, 49%)
CMYKcmyk(0%, 84.9%, 1.6%, 50.6%)
CIE-LABlab(30.30, 54.54, -33.17)
CIE-LCHlch(30.30, 63.84, 328.69°)
OKLaboklab(42.3% 0.1534 -0.0919)
OKLCHoklch(42.3% 0.179 329.1)
XYZxyz(12.4750, 6.3576, 19.6350)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E137C #137E15
analogous
#4A137E #7E137C #7E1346
triadic
#7E137C #7C7E13 #137C7E
tetradic
#7E137C #7E4A13 #137E15 #13467E
square
#7E137C #7E4A13 #137E15 #13467E
split-complementary
#7E137C #467E13 #137E4A
monochromatic
#1B041A #490B48 #7E137C #B31BB0 #DF2CDC

Accessibility & contrast

On white

9.25
#7E137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E137C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E137C#FFFFFF#000000##FFFFFF
##7E137C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#364C7A
Tritanopia (blue-blind)
#832649
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e137c;
/* rgb */ color: rgb(126, 19, 124);
/* oklch */ color: oklch(42.3% 0.179 329.1);
Tailwind
colors: {
  custom: {
    50: '#a761a2',
    500: '#7e137c',
    950: '#000000',
  },
}
SCSS
$custom: #7e137c;
$custom-light: #a761a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e137c",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 301.121,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.17881,
    "h": 329.1
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#7E137C
secondary
#39B43C
accent
#F03B37
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E137C

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

Preview Lab → · Contrast checker → · Palette generator →

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