#7C247D#7C247D

#7C247D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.161 H 327.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7C247D
RGBrgb(124, 36, 125)
HSLhsl(299, 55%, 32%)
HSVhsv(299, 71%, 49%)
CMYKcmyk(0.8%, 71.2%, 0%, 51%)
CIE-LABlab(31.87, 48.90, -31.32)
CIE-LCHlch(31.87, 58.07, 327.36°)
OKLaboklab(43.38% 0.1359 -0.0867)
OKLCHoklch(43.38% 0.161 327.4)
XYZxyz(12.6445, 7.0284, 20.0887)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C247D #257D24
analogous
#50247D #7C247D #7D2452
triadic
#7C247D #7D7C24 #247D7C
tetradic
#7C247D #7D5024 #257D24 #24527D
square
#7C247D #7D5024 #257D24 #24527D
split-complementary
#7C247D #527D24 #247D50
monochromatic
#1E091E #4D164D #7C247D #AB32AD #CB4FCC

Accessibility & contrast

On white

8.73
#7C247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C247D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C247D#FFFFFF#000000##FFFFFF
##7C247D1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#80314E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c247d;
/* rgb */ color: rgb(124, 36, 125);
/* oklch */ color: oklch(43.4% 0.161 327.4);
Tailwind
colors: {
  custom: {
    50: '#a567a3',
    500: '#7c247d',
    950: '#000000',
  },
}
SCSS
$custom: #7c247d;
$custom-light: #a567a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c247d",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 299.326,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.16122,
    "h": 327.4
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#7C247D
secondary
#4FAF4D
accent
#DF494B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C247D

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

Preview Lab → · Contrast checker → · Palette generator →

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