#7D247C#7D247C

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

Color values

HEX#7D247C
RGBrgb(125, 36, 124)
HSLhsl(301, 55%, 32%)
HSVhsv(301, 71%, 49%)
CMYKcmyk(0%, 71.2%, 0.8%, 51%)
CIE-LABlab(31.98, 48.97, -30.50)
CIE-LCHlch(31.98, 57.69, 328.08°)
OKLaboklab(43.47% 0.137 -0.0843)
OKLCHoklch(43.47% 0.161 328.4)
XYZxyz(12.7263, 7.0779, 19.7607)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D247C #247D25
analogous
#52247D #7D247C #7D2450
triadic
#7D247C #7C7D24 #247C7D
tetradic
#7D247C #7D5224 #247D25 #24507D
square
#7D247C #7D5224 #247D25 #24507D
split-complementary
#7D247C #507D24 #247D52
monochromatic
#1E091E #4D164D #7D247C #AD32AB #CC4FCB

Accessibility & contrast

On white

8.69
#7D247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D247C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D247C#FFFFFF#000000##FFFFFF
##7D247C1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#3C4F7A
Tritanopia (blue-blind)
#81304D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d247c;
/* rgb */ color: rgb(125, 36, 124);
/* oklch */ color: oklch(43.5% 0.161 328.4);
Tailwind
colors: {
  custom: {
    50: '#a668a2',
    500: '#7d247c',
    950: '#000000',
  },
}
SCSS
$custom: #7d247c;
$custom-light: #a668a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d247c",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 300.674,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.16091,
    "h": 328.4
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#7D247C
secondary
#4DAF4F
accent
#DF4B49
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D247C

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

Preview Lab → · Contrast checker → · Palette generator →

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