#7E247D#7E247D

#7E247D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 328.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7E247D
RGBrgb(126, 36, 125)
HSLhsl(301, 56%, 32%)
HSVhsv(301, 71%, 49%)
CMYKcmyk(0%, 71.4%, 0.8%, 50.6%)
CIE-LABlab(32.21, 49.39, -30.76)
CIE-LCHlch(32.21, 58.19, 328.08°)
OKLaboklab(43.69% 0.1382 -0.0851)
OKLCHoklch(43.69% 0.162 328.4)
XYZxyz(12.9366, 7.1790, 20.1024)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E247D #247E25
analogous
#52247E #7E247D #7E2450
triadic
#7E247D #7D7E24 #247D7E
tetradic
#7E247D #7E5224 #247E25 #24507E
square
#7E247D #7E5224 #247E25 #24507E
split-complementary
#7E247D #507E24 #247E52
monochromatic
#1F091F #4E164E #7E247D #AE32AC #CD50CB

Accessibility & contrast

On white

8.62
#7E247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7E247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E247D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E247D#FFFFFF#000000##FFFFFF
##7E247D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174480
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#82314E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e247d;
/* rgb */ color: rgb(126, 36, 125);
/* oklch */ color: oklch(43.7% 0.162 328.4);
Tailwind
colors: {
  custom: {
    50: '#a668a3',
    500: '#7e247d',
    950: '#000000',
  },
}
SCSS
$custom: #7e247d;
$custom-light: #a668a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e247d",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 300.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43687,
    "c": 0.16229,
    "h": 328.4
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#7E247D
secondary
#4EB04F
accent
#DF4B49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E247D

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

Preview Lab → · Contrast checker → · Palette generator →

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