#7D147F#7D147F

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

Color values

HEX#7D147F
RGBrgb(125, 20, 127)
HSLhsl(299, 73%, 29%)
HSVhsv(299, 84%, 50%)
CMYKcmyk(1.6%, 84.3%, 0%, 50.2%)
CIE-LABlab(30.38, 54.60, -34.93)
CIE-LCHlch(30.38, 64.81, 327.39°)
OKLaboklab(42.39% 0.1514 -0.0971)
OKLCHoklch(42.39% 0.18 327.3)
XYZxyz(12.5382, 6.3935, 20.6483)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D147F #167F14
analogous
#48147F #7D147F #7F144C
triadic
#7D147F #7F7D14 #147F7D
tetradic
#7D147F #7F4814 #167F14 #144C7F
square
#7D147F #7F4814 #167F14 #144C7F
split-complementary
#7D147F #4C7F14 #147F48
monochromatic
#1A041A #490C4A #7D147F #B11CB4 #DB2FDE

Accessibility & contrast

On white

9.22
#7D147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D147F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D147F#FFFFFF#000000##FFFFFF
##7D147F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d147f;
/* rgb */ color: rgb(125, 20, 127);
/* oklch */ color: oklch(42.4% 0.180 327.3);
Tailwind
colors: {
  custom: {
    50: '#a662a4',
    500: '#7d147f',
    950: '#000000',
  },
}
SCSS
$custom: #7d147f;
$custom-light: #a662a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d147f",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 298.879,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42388,
    "c": 0.17986,
    "h": 327.3
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#7D147F
secondary
#3DB43B
accent
#EF383C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D147F

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

Preview Lab → · Contrast checker → · Palette generator →

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