#7D247E#7D247E

#7D247E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.163 H 327.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7D247E
RGBrgb(125, 36, 126)
HSLhsl(299, 56%, 32%)
HSVhsv(299, 71%, 49%)
CMYKcmyk(0.8%, 71.4%, 0%, 50.6%)
CIE-LABlab(32.10, 49.32, -31.58)
CIE-LCHlch(32.10, 58.57, 327.37°)
OKLaboklab(43.59% 0.1371 -0.0875)
OKLCHoklch(43.59% 0.163 327.5)
XYZxyz(12.8540, 7.1290, 20.4336)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D247E #257E24
analogous
#50247E #7D247E #7E2452
triadic
#7D247E #7E7D24 #247E7D
tetradic
#7D247E #7E5024 #257E24 #24527E
square
#7D247E #7E5024 #257E24 #24527E
split-complementary
#7D247E #527E24 #247E50
monochromatic
#1F091F #4E164E #7D247E #AC32AE #CB50CD

Accessibility & contrast

On white

8.66
#7D247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D247E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D247E#FFFFFF#000000##FFFFFF
##7D247E1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d247e;
/* rgb */ color: rgb(125, 36, 126);
/* oklch */ color: oklch(43.6% 0.163 327.5);
Tailwind
colors: {
  custom: {
    50: '#a668a4',
    500: '#7d247e',
    950: '#000000',
  },
}
SCSS
$custom: #7d247e;
$custom-light: #a668a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d247e",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 299.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43592,
    "c": 0.1626,
    "h": 327.5
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#7D247E
secondary
#4FB04E
accent
#DF494B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D247E

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

Preview Lab → · Contrast checker → · Palette generator →

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