#7D1C8F#7D1C8F

#7D1C8F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.186 H 320.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7D1C8F
RGBrgb(125, 28, 143)
HSLhsl(291, 67%, 34%)
HSVhsv(291, 80%, 56%)
CMYKcmyk(12.6%, 80.4%, 0%, 43.9%)
CIE-LABlab(32.20, 55.22, -41.98)
CIE-LCHlch(32.20, 69.37, 322.76°)
OKLaboklab(44.01% 0.1437 -0.1178)
OKLCHoklch(44.01% 0.186 320.7)
XYZxyz(13.8300, 7.1744, 26.6376)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C8F #2E8F1C
analogous
#431C8F #7D1C8F #8F1C67
triadic
#7D1C8F #8F7D1C #1C8F7D
tetradic
#7D1C8F #8F431C #2E8F1C #1C678F
square
#7D1C8F #8F431C #2E8F1C #1C678F
split-complementary
#7D1C8F #678F1C #1C8F43
monochromatic
#240829 #50125C #7D1C8F #AA26C2 #C54ADC

Accessibility & contrast

On white

8.62
#7D1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C8F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C8F#FFFFFF#000000##FFFFFF
##7D1C8F1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#7E3556
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1c8f;
/* rgb */ color: rgb(125, 28, 143);
/* oklch */ color: oklch(44.0% 0.186 320.7);
Tailwind
colors: {
  custom: {
    50: '#a665b0',
    500: '#7d1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c8f;
$custom-light: #a665b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c8f",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 290.609,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.18579,
    "h": 320.7
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#7D1C8F
secondary
#5BBE49
accent
#EA3E59
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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