#7D1378#7D1378

#7D1378 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.175 H 330.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7D1378
RGBrgb(125, 19, 120)
HSLhsl(303, 74%, 28%)
HSVhsv(303, 85%, 49%)
CMYKcmyk(0%, 84.8%, 4%, 51%)
CIE-LABlab(29.87, 53.68, -31.33)
CIE-LCHlch(29.87, 62.16, 329.73°)
OKLaboklab(41.89% 0.1524 -0.0866)
OKLCHoklch(41.89% 0.175 330.4)
XYZxyz(12.0805, 6.1828, 18.3228)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1378 #137D18
analogous
#4D137D #7D1378 #7D1343
triadic
#7D1378 #787D13 #13787D
tetradic
#7D1378 #7D4D13 #137D18 #13437D
square
#7D1378 #7D4D13 #137D18 #13437D
split-complementary
#7D1378 #437D13 #137D4D
monochromatic
#1B041A #480B45 #7D1378 #B21BAB #DF2CD6

Accessibility & contrast

On white

9.39
#7D1378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D1378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1378
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1378#FFFFFF#000000##FFFFFF
##7D13781.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#374B76
Tritanopia (blue-blind)
#822447
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1378;
/* rgb */ color: rgb(125, 19, 120);
/* oklch */ color: oklch(41.9% 0.175 330.4);
Tailwind
colors: {
  custom: {
    50: '#a6619f',
    500: '#7d1378',
    950: '#000000',
  },
}
SCSS
$custom: #7d1378;
$custom-light: #a6619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1378",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 120
  },
  "hsl": {
    "h": 302.83,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.17533,
    "h": 330.4
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#7D1378
secondary
#39B33F
accent
#F04038
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1378

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

Preview Lab → · Contrast checker → · Palette generator →

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