#7E247F#7E247F

#7E247F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.164 H 327.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7E247F
RGBrgb(126, 36, 127)
HSLhsl(299, 56%, 32%)
HSVhsv(299, 72%, 50%)
CMYKcmyk(0.8%, 71.7%, 0%, 50.2%)
CIE-LABlab(32.33, 49.75, -31.83)
CIE-LCHlch(32.33, 59.06, 327.39°)
OKLaboklab(43.81% 0.1383 -0.0882)
OKLCHoklch(43.81% 0.164 327.5)
XYZxyz(13.0656, 7.2306, 20.7820)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E247F #257F24
analogous
#51247F #7E247F #7F2453
triadic
#7E247F #7F7E24 #247F7E
tetradic
#7E247F #7F5124 #257F24 #24537F
square
#7E247F #7F5124 #257F24 #24537F
split-complementary
#7E247F #537F24 #247F51
monochromatic
#1F0920 #4F164F #7E247F #AD32AF #CC50CD

Accessibility & contrast

On white

8.59
#7E247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7E247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E247F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E247F#FFFFFF#000000##FFFFFF
##7E247F1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144582
Deuteranopia (green-blind)
#3B507D
Tritanopia (blue-blind)
#82324F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e247f;
/* rgb */ color: rgb(126, 36, 127);
/* oklch */ color: oklch(43.8% 0.164 327.5);
Tailwind
colors: {
  custom: {
    50: '#a668a4',
    500: '#7e247f',
    950: '#000000',
  },
}
SCSS
$custom: #7e247f;
$custom-light: #a668a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e247f",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 299.341,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.16398,
    "h": 327.5
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#7E247F
secondary
#4FB14E
accent
#DF494A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E247F

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

Preview Lab → · Contrast checker → · Palette generator →

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