#7D1480#7D1480

#7D1480 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.181 H 326.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7D1480
RGBrgb(125, 20, 128)
HSLhsl(298, 73%, 29%)
HSVhsv(298, 84%, 50%)
CMYKcmyk(2.3%, 84.4%, 0%, 49.8%)
CIE-LABlab(30.45, 54.77, -35.46)
CIE-LCHlch(30.45, 65.24, 327.08°)
OKLaboklab(42.45% 0.1513 -0.0986)
OKLCHoklch(42.45% 0.181 326.9)
XYZxyz(12.6037, 6.4197, 20.9932)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1480 #178014
analogous
#471480 #7D1480 #80144D
triadic
#7D1480 #807D14 #14807D
tetradic
#7D1480 #804714 #178014 #144D80
square
#7D1480 #804714 #178014 #144D80
split-complementary
#7D1480 #4D8014 #148047
monochromatic
#1A041A #490C4B #7D1480 #B11CB5 #DA30DF

Accessibility & contrast

On white

9.20
#7D1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1480
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1480#FFFFFF#000000##FFFFFF
##7D14801.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#81294C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1480;
/* rgb */ color: rgb(125, 20, 128);
/* oklch */ color: oklch(42.5% 0.181 326.9);
Tailwind
colors: {
  custom: {
    50: '#a662a5',
    500: '#7d1480',
    950: '#000000',
  },
}
SCSS
$custom: #7d1480;
$custom-light: #a662a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1480",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 298.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.18064,
    "h": 326.9
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#7D1480
secondary
#3EB53B
accent
#F0383D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1480

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

Preview Lab → · Contrast checker → · Palette generator →

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