#7D247A#7D247A

#7D247A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.159 H 329.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7D247A
RGBrgb(125, 36, 122)
HSLhsl(302, 55%, 32%)
HSVhsv(302, 71%, 49%)
CMYKcmyk(0%, 71.2%, 2.4%, 51%)
CIE-LABlab(31.87, 48.62, -29.43)
CIE-LCHlch(31.87, 56.83, 328.81°)
OKLaboklab(43.35% 0.137 -0.0812)
OKLCHoklch(43.35% 0.159 329.3)
XYZxyz(12.6011, 7.0278, 19.1014)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D247A #247D27
analogous
#54247D #7D247A #7D244E
triadic
#7D247A #7A7D24 #247A7D
tetradic
#7D247A #7D5424 #247D27 #244E7D
square
#7D247A #7D5424 #247D27 #244E7D
split-complementary
#7D247A #4E7D24 #247D54
monochromatic
#1E091D #4D164C #7D247A #AD32A8 #CC4FC8

Accessibility & contrast

On white

8.73
#7D247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D247A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D247A#FFFFFF#000000##FFFFFF
##7D247A1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#3D4F78
Tritanopia (blue-blind)
#81304C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d247a;
/* rgb */ color: rgb(125, 36, 122);
/* oklch */ color: oklch(43.4% 0.159 329.3);
Tailwind
colors: {
  custom: {
    50: '#a667a1',
    500: '#7d247a',
    950: '#000000',
  },
}
SCSS
$custom: #7d247a;
$custom-light: #a667a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d247a",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 302.022,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.15924,
    "h": 329.3
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#7D247A
secondary
#4DAF51
accent
#DF4E49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D247A

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

Preview Lab → · Contrast checker → · Palette generator →

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