#7E247A#7E247A

#7E247A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.160 H 329.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7E247A
RGBrgb(126, 36, 122)
HSLhsl(303, 56%, 32%)
HSVhsv(303, 71%, 49%)
CMYKcmyk(0%, 71.4%, 3.2%, 50.6%)
CIE-LABlab(32.04, 48.86, -29.14)
CIE-LCHlch(32.04, 56.89, 329.19°)
OKLaboklab(43.51% 0.1381 -0.0804)
OKLCHoklch(43.51% 0.16 329.8)
XYZxyz(12.7478, 7.1035, 19.1083)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E247A #247E28
analogous
#55247E #7E247A #7E244D
triadic
#7E247A #7A7E24 #247A7E
tetradic
#7E247A #7E5524 #247E28 #244D7E
square
#7E247A #7E5524 #247E28 #244D7E
split-complementary
#7E247A #4D7E24 #247E55
monochromatic
#1F091E #4E164C #7E247A #AE32A8 #CD50C7

Accessibility & contrast

On white

8.68
#7E247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7E247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E247A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E247A#FFFFFF#000000##FFFFFF
##7E247A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#832F4C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e247a;
/* rgb */ color: rgb(126, 36, 122);
/* oklch */ color: oklch(43.5% 0.160 329.8);
Tailwind
colors: {
  custom: {
    50: '#a668a1',
    500: '#7e247a',
    950: '#000000',
  },
}
SCSS
$custom: #7e247a;
$custom-light: #a668a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e247a",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 302.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4351,
    "c": 0.15979,
    "h": 329.8
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#7E247A
secondary
#4EB052
accent
#DF5049
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #7E247A

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

Preview Lab → · Contrast checker → · Palette generator →

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