#7C247C#7C247C

#7C247C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.160 H 327.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7C247C
RGBrgb(124, 36, 124)
HSLhsl(300, 55%, 31%)
HSVhsv(300, 71%, 49%)
CMYKcmyk(0%, 71%, 0%, 51.4%)
CIE-LABlab(31.81, 48.72, -30.78)
CIE-LCHlch(31.81, 57.63, 327.72°)
OKLaboklab(43.32% 0.1359 -0.0852)
OKLCHoklch(43.32% 0.16 327.9)
XYZxyz(12.5810, 7.0030, 19.7539)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C247C #247C24
analogous
#50247C #7C247C #7C2450
triadic
#7C247C #7C7C24 #247C7C
tetradic
#7C247C #7C5024 #247C24 #24507C
square
#7C247C #7C5024 #247C24 #24507C
split-complementary
#7C247C #507C24 #247C50
monochromatic
#1D081D #4D164D #7C247C #AB32AB #CC4FCC

Accessibility & contrast

On white

8.75
#7C247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C247C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C247C#FFFFFF#000000##FFFFFF
##7C247C1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437E
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#80314D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c247c;
/* rgb */ color: rgb(124, 36, 124);
/* oklch */ color: oklch(43.3% 0.160 327.9);
Tailwind
colors: {
  custom: {
    50: '#a567a2',
    500: '#7c247c',
    950: '#000000',
  },
}
SCSS
$custom: #7c247c;
$custom-light: #a567a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c247c",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 300,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.16037,
    "h": 327.9
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#7C247C
secondary
#4DAE4D
accent
#DE4949
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C247C

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

Preview Lab → · Contrast checker → · Palette generator →

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