#7D147C#7D147C

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

Color values

HEX#7D147C
RGBrgb(125, 20, 124)
HSLhsl(301, 72%, 28%)
HSVhsv(301, 84%, 49%)
CMYKcmyk(0%, 84%, 0.8%, 51%)
CIE-LABlab(30.20, 54.09, -33.34)
CIE-LCHlch(30.20, 63.54, 328.35°)
OKLaboklab(42.2% 0.1516 -0.0925)
OKLCHoklch(42.2% 0.178 328.6)
XYZxyz(12.3456, 6.3165, 19.6339)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D147C #147D15
analogous
#49147D #7D147C #7D1447
triadic
#7D147C #7C7D14 #147C7D
tetradic
#7D147C #7D4914 #147D15 #14477D
square
#7D147C #7D4914 #147D15 #14477D
split-complementary
#7D147C #477D14 #147D49
monochromatic
#1A041A #480C48 #7D147C #B21CB0 #DE2EDC

Accessibility & contrast

On white

9.28
#7D147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D147C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D147C#FFFFFF#000000##FFFFFF
##7D147C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d147c;
/* rgb */ color: rgb(125, 20, 124);
/* oklch */ color: oklch(42.2% 0.178 328.6);
Tailwind
colors: {
  custom: {
    50: '#a661a2',
    500: '#7d147c',
    950: '#000000',
  },
}
SCSS
$custom: #7d147c;
$custom-light: #a661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d147c",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 300.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42196,
    "c": 0.17756,
    "h": 328.6
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#7D147C
secondary
#3AB23C
accent
#EF3A39
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D147C

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

Preview Lab → · Contrast checker → · Palette generator →

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