#7F247C#7F247C

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

Color values

HEX#7F247C
RGBrgb(127, 36, 124)
HSLhsl(302, 56%, 32%)
HSVhsv(302, 72%, 50%)
CMYKcmyk(0%, 71.7%, 2.4%, 50.2%)
CIE-LABlab(32.32, 49.46, -29.94)
CIE-LCHlch(32.32, 57.82, 328.81°)
OKLaboklab(43.78% 0.1393 -0.0827)
OKLCHoklch(43.78% 0.162 329.3)
XYZxyz(13.0213, 7.2300, 19.7746)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F247C #247F27
analogous
#55247F #7F247C #7F244F
triadic
#7F247C #7C7F24 #247C7F
tetradic
#7F247C #7F5524 #247F27 #244F7F
square
#7F247C #7F5524 #247F27 #244F7F
split-complementary
#7F247C #4F7F24 #247F55
monochromatic
#20091F #4F164D #7F247C #AF32AB #CD50C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F247C#FFFFFF#000000##FFFFFF
##7F247C1.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)
#19447E
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#84304D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f247c;
/* rgb */ color: rgb(127, 36, 124);
/* oklch */ color: oklch(43.8% 0.162 329.3);
Tailwind
colors: {
  custom: {
    50: '#a768a2',
    500: '#7f247c',
    950: '#000000',
  },
}
SCSS
$custom: #7f247c;
$custom-light: #a768a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f247c",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 301.978,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43784,
    "c": 0.162,
    "h": 329.3
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#7F247C
secondary
#4EB151
accent
#DF4E49
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F247C

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

Preview Lab → · Contrast checker → · Palette generator →

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