#7D1478#7D1478

#7D1478 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.36:1 contrast (WCAG AA passes).

Color values

HEX#7D1478
RGBrgb(125, 20, 120)
HSLhsl(303, 72%, 28%)
HSVhsv(303, 84%, 49%)
CMYKcmyk(0%, 84%, 4%, 51%)
CIE-LABlab(29.95, 53.43, -31.20)
CIE-LCHlch(29.95, 61.87, 329.72°)
OKLaboklab(41.95% 0.1517 -0.0862)
OKLCHoklch(41.95% 0.175 330.4)
XYZxyz(12.0977, 6.2173, 18.3286)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1478 #147D19
analogous
#4D147D #7D1478 #7D1443
triadic
#7D1478 #787D14 #14787D
tetradic
#7D1478 #7D4D14 #147D19 #14437D
square
#7D1478 #7D4D14 #147D19 #14437D
split-complementary
#7D1478 #437D14 #147D4D
monochromatic
#1A0419 #480C45 #7D1478 #B21CAB #DE2ED5

Accessibility & contrast

On white

9.36
#7D1478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1478
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1478#FFFFFF#000000##FFFFFF
##7D14781.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#374B76
Tritanopia (blue-blind)
#822547
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1478;
/* rgb */ color: rgb(125, 20, 120);
/* oklch */ color: oklch(41.9% 0.175 330.4);
Tailwind
colors: {
  custom: {
    50: '#a6619f',
    500: '#7d1478',
    950: '#000000',
  },
}
SCSS
$custom: #7d1478;
$custom-light: #a6619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1478",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 302.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.17451,
    "h": 330.4
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#7D1478
secondary
#3AB240
accent
#EF4139
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1478

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

Preview Lab → · Contrast checker → · Palette generator →

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