#7D2A74#7D2A74

#7D2A74 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.146 H 332.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7D2A74
RGBrgb(125, 42, 116)
HSLhsl(307, 50%, 33%)
HSVhsv(307, 66%, 49%)
CMYKcmyk(0%, 66.4%, 7.2%, 51%)
CIE-LABlab(32.43, 45.09, -24.76)
CIE-LCHlch(32.43, 51.44, 331.23°)
OKLaboklab(43.65% 0.1294 -0.0678)
OKLCHoklch(43.65% 0.146 332.3)
XYZxyz(12.4378, 7.2778, 17.2693)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A74 #2A7D33
analogous
#5C2A7D #7D2A74 #7D2A4A
triadic
#7D2A74 #747D2A #2A747D
tetradic
#7D2A74 #7D5C2A #2A7D33 #2A4A7D
square
#7D2A74 #7D5C2A #2A7D33 #2A4A7D
split-complementary
#7D2A74 #4A7D2A #2A7D5C
monochromatic
#210B1F #4F1B49 #7D2A74 #AB399F #C85ABC

Accessibility & contrast

On white

8.55
#7D2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D2A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A74
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A74#FFFFFF#000000##FFFFFF
##7D2A741.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264576
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#82314B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2a74;
/* rgb */ color: rgb(125, 42, 116);
/* oklch */ color: oklch(43.7% 0.146 332.3);
Tailwind
colors: {
  custom: {
    50: '#a56a9c',
    500: '#7d2a74',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a74;
$custom-light: #a56a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a74",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 306.506,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43654,
    "c": 0.14605,
    "h": 332.3
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#7D2A74
secondary
#56AD5F
accent
#D95E4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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