#7C247E#7C247E

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

Color values

HEX#7C247E
RGBrgb(124, 36, 126)
HSLhsl(299, 56%, 32%)
HSVhsv(299, 71%, 49%)
CMYKcmyk(1.6%, 71.4%, 0%, 50.6%)
CIE-LABlab(31.93, 49.08, -31.85)
CIE-LCHlch(31.93, 58.51, 327.02°)
OKLaboklab(43.44% 0.1359 -0.0883)
OKLCHoklch(43.44% 0.162 327)
XYZxyz(12.7087, 7.0541, 20.4268)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C247E #267E24
analogous
#4F247E #7C247E #7E2453
triadic
#7C247E #7E7C24 #247E7C
tetradic
#7C247E #7E4F24 #267E24 #24537E
square
#7C247E #7E4F24 #267E24 #24537E
split-complementary
#7C247E #537E24 #247E4F
monochromatic
#1E091F #4D164E #7C247E #AB32AE #CA50CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C247E#FFFFFF#000000##FFFFFF
##7C247E1.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)
#134481
Deuteranopia (green-blind)
#3A4F7C
Tritanopia (blue-blind)
#80324E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c247e;
/* rgb */ color: rgb(124, 36, 126);
/* oklch */ color: oklch(43.4% 0.162 327.0);
Tailwind
colors: {
  custom: {
    50: '#a567a4',
    500: '#7c247e',
    950: '#000000',
  },
}
SCSS
$custom: #7c247e;
$custom-light: #a567a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c247e",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 298.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43437,
    "c": 0.16207,
    "h": 327
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

primary
#7C247E
secondary
#50B04E
accent
#DF494C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7C247E

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

Preview Lab → · Contrast checker → · Palette generator →

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