#7C247A#7C247A

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

Color values

HEX#7C247A
RGBrgb(124, 36, 122)
HSLhsl(301, 55%, 31%)
HSVhsv(301, 71%, 49%)
CMYKcmyk(0%, 71%, 1.6%, 51.4%)
CIE-LABlab(31.70, 48.37, -29.71)
CIE-LCHlch(31.70, 56.76, 328.44°)
OKLaboklab(43.2% 0.1358 -0.0821)
OKLCHoklch(43.2% 0.159 328.9)
XYZxyz(12.4558, 6.9529, 19.0946)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C247A #247C26
analogous
#52247C #7C247A #7C244E
triadic
#7C247A #7A7C24 #247A7C
tetradic
#7C247A #7C5224 #247C26 #244E7C
square
#7C247A #7C5224 #247C26 #244E7C
split-complementary
#7C247A #4E7C24 #247C52
monochromatic
#1D081D #4D164B #7C247A #AB32A9 #CC4FC9

Accessibility & contrast

On white

8.79
#7C247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7C247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C247A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C247A#FFFFFF#000000##FFFFFF
##7C247A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437C
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#80304C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c247a;
/* rgb */ color: rgb(124, 36, 122);
/* oklch */ color: oklch(43.2% 0.159 328.9);
Tailwind
colors: {
  custom: {
    50: '#a567a1',
    500: '#7c247a',
    950: '#000000',
  },
}
SCSS
$custom: #7c247a;
$custom-light: #a567a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c247a",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 301.364,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43197,
    "c": 0.15868,
    "h": 328.9
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#7C247A
secondary
#4DAE50
accent
#DE4D49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C247A

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

Preview Lab → · Contrast checker → · Palette generator →

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