#7D1D80#7D1D80

#7D1D80 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.172 H 326.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7D1D80
RGBrgb(125, 29, 128)
HSLhsl(298, 63%, 31%)
HSVhsv(298, 77%, 50%)
CMYKcmyk(2.3%, 77.3%, 0%, 49.8%)
CIE-LABlab(31.34, 52.18, -34.03)
CIE-LCHlch(31.34, 62.29, 326.89°)
OKLaboklab(43.09% 0.1441 -0.0945)
OKLCHoklch(43.09% 0.172 326.7)
XYZxyz(12.7929, 6.7981, 21.0563)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D80 #20801D
analogous
#4B1D80 #7D1D80 #801D51
triadic
#7D1D80 #807D1D #1D807D
tetradic
#7D1D80 #804B1D #20801D #1D5180
square
#7D1D80 #804B1D #20801D #1D5180
split-complementary
#7D1D80 #51801D #1D804B
monochromatic
#1C061C #4C124E #7D1D80 #AE28B2 #D043D4

Accessibility & contrast

On white

8.90
#7D1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D80
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D80#FFFFFF#000000##FFFFFF
##7D1D801.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#812E4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1d80;
/* rgb */ color: rgb(125, 29, 128);
/* oklch */ color: oklch(43.1% 0.172 326.7);
Tailwind
colors: {
  custom: {
    50: '#a665a5',
    500: '#7d1d80',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d80;
$custom-light: #a665a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d80",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 298.182,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43089,
    "c": 0.17232,
    "h": 326.7
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#7D1D80
secondary
#49B345
accent
#E64247
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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