#7D247B#7D247B

#7D247B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.160 H 328.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7D247B
RGBrgb(125, 36, 123)
HSLhsl(301, 55%, 32%)
HSVhsv(301, 71%, 49%)
CMYKcmyk(0%, 71.2%, 1.6%, 51%)
CIE-LABlab(31.93, 48.79, -29.97)
CIE-LCHlch(31.93, 57.26, 328.44°)
OKLaboklab(43.41% 0.137 -0.0828)
OKLCHoklch(43.41% 0.16 328.9)
XYZxyz(12.6634, 7.0527, 19.4294)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D247B #247D26
analogous
#53247D #7D247B #7D244F
triadic
#7D247B #7B7D24 #247B7D
tetradic
#7D247B #7D5324 #247D26 #244F7D
square
#7D247B #7D5324 #247D26 #244F7D
split-complementary
#7D247B #4F7D24 #247D53
monochromatic
#1E091D #4D164C #7D247B #AD32AA #CC4FCA

Accessibility & contrast

On white

8.71
#7D247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D247B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D247B#FFFFFF#000000##FFFFFF
##7D247B1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447D
Deuteranopia (green-blind)
#3C4F79
Tritanopia (blue-blind)
#81304D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d247b;
/* rgb */ color: rgb(125, 36, 123);
/* oklch */ color: oklch(43.4% 0.160 328.9);
Tailwind
colors: {
  custom: {
    50: '#a667a1',
    500: '#7d247b',
    950: '#000000',
  },
}
SCSS
$custom: #7d247b;
$custom-light: #a667a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d247b",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 301.348,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43412,
    "c": 0.16006,
    "h": 328.9
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#7D247B
secondary
#4DAF50
accent
#DF4D49
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D247B

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

Preview Lab → · Contrast checker → · Palette generator →

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