#7D247D#7D247D

#7D247D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.162 H 327.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7D247D
RGBrgb(125, 36, 125)
HSLhsl(300, 55%, 32%)
HSVhsv(300, 71%, 49%)
CMYKcmyk(0%, 71.2%, 0%, 51%)
CIE-LABlab(32.04, 49.15, -31.04)
CIE-LCHlch(32.04, 58.13, 327.72°)
OKLaboklab(43.53% 0.1371 -0.0859)
OKLCHoklch(43.53% 0.162 327.9)
XYZxyz(12.7898, 7.1033, 20.0955)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D247D #247D24
analogous
#51247D #7D247D #7D2451
triadic
#7D247D #7D7D24 #247D7D
tetradic
#7D247D #7D5124 #247D24 #24517D
square
#7D247D #7D5124 #247D24 #24517D
split-complementary
#7D247D #517D24 #247D51
monochromatic
#1E091E #4D164D #7D247D #AD32AD #CC4FCC

Accessibility & contrast

On white

8.68
#7D247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D247D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D247D#FFFFFF#000000##FFFFFF
##7D247D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164480
Deuteranopia (green-blind)
#3B4F7B
Tritanopia (blue-blind)
#81314E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d247d;
/* rgb */ color: rgb(125, 36, 125);
/* oklch */ color: oklch(43.5% 0.162 327.9);
Tailwind
colors: {
  custom: {
    50: '#a668a3',
    500: '#7d247d',
    950: '#000000',
  },
}
SCSS
$custom: #7d247d;
$custom-light: #a668a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d247d",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43532,
    "c": 0.16175,
    "h": 327.9
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#7D247D
secondary
#4DAF4D
accent
#DF4949
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D247D

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

Preview Lab → · Contrast checker → · Palette generator →

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