#7F247A#7F247A

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

Color values

HEX#7F247A
RGBrgb(127, 36, 122)
HSLhsl(303, 56%, 32%)
HSVhsv(303, 72%, 50%)
CMYKcmyk(0%, 71.7%, 3.9%, 50.2%)
CIE-LABlab(32.21, 49.11, -28.86)
CIE-LCHlch(32.21, 56.97, 329.56°)
OKLaboklab(43.67% 0.1392 -0.0795)
OKLCHoklch(43.67% 0.16 330.3)
XYZxyz(12.8961, 7.1799, 19.1152)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F247A #247F29
analogous
#57247F #7F247A #7F244D
triadic
#7F247A #7A7F24 #247A7F
tetradic
#7F247A #7F5724 #247F29 #244D7F
square
#7F247A #7F5724 #247F29 #244D7F
split-complementary
#7F247A #4D7F24 #247F57
monochromatic
#20091E #4F164C #7F247A #AF32A8 #CD50C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F247A#FFFFFF#000000##FFFFFF
##7F247A1.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)
#1B447C
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#842F4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f247a;
/* rgb */ color: rgb(127, 36, 122);
/* oklch */ color: oklch(43.7% 0.160 330.3);
Tailwind
colors: {
  custom: {
    50: '#a768a1',
    500: '#7f247a',
    950: '#000000',
  },
}
SCSS
$custom: #7f247a;
$custom-light: #a768a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f247a",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 303.297,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43667,
    "c": 0.16035,
    "h": 330.3
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#7F247A
secondary
#4EB153
accent
#DF5149
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #7F247A

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

Preview Lab → · Contrast checker → · Palette generator →

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