#7D1D84#7D1D84

#7D1D84 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.176 H 325.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7D1D84
RGBrgb(125, 29, 132)
HSLhsl(296, 64%, 32%)
HSVhsv(296, 78%, 52%)
CMYKcmyk(5.3%, 78%, 0%, 48.2%)
CIE-LABlab(31.59, 52.89, -36.14)
CIE-LCHlch(31.59, 64.05, 325.66°)
OKLaboklab(43.35% 0.1439 -0.1007)
OKLCHoklch(43.35% 0.176 325)
XYZxyz(13.0614, 6.9055, 22.4703)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D84 #24841D
analogous
#4A1D84 #7D1D84 #841D58
triadic
#7D1D84 #847D1D #1D847D
tetradic
#7D1D84 #844A1D #24841D #1D5884
square
#7D1D84 #844A1D #24841D #1D5884
split-complementary
#7D1D84 #58841D #1D844A
monochromatic
#1E0720 #4D1252 #7D1D84 #AD28B6 #CC45D6

Accessibility & contrast

On white

8.82
#7D1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D84
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D84#FFFFFF#000000##FFFFFF
##7D1D841.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#803050
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1d84;
/* rgb */ color: rgb(125, 29, 132);
/* oklch */ color: oklch(43.3% 0.176 325.0);
Tailwind
colors: {
  custom: {
    50: '#a665a8',
    500: '#7d1d84',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d84;
$custom-light: #a665a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d84",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 295.922,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.17561,
    "h": 325
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#7D1D84
secondary
#4DB746
accent
#E7414C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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