#7F247E#7F247E

#7F247E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.164 H 328.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7F247E
RGBrgb(127, 36, 126)
HSLhsl(301, 56%, 32%)
HSVhsv(301, 72%, 50%)
CMYKcmyk(0%, 71.7%, 0.8%, 50.2%)
CIE-LABlab(32.44, 49.81, -31.02)
CIE-LCHlch(32.44, 58.68, 328.09°)
OKLaboklab(43.9% 0.1394 -0.0858)
OKLCHoklch(43.9% 0.164 328.4)
XYZxyz(13.1490, 7.2811, 20.4475)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F247E #247F25
analogous
#53247F #7F247E #7F2451
triadic
#7F247E #7E7F24 #247E7F
tetradic
#7F247E #7F5324 #247F25 #24517F
square
#7F247E #7F5324 #247F25 #24517F
split-complementary
#7F247E #517F24 #247F53
monochromatic
#20091F #4F164F #7F247E #AF32AD #CD50CC

Accessibility & contrast

On white

8.55
#7F247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7F247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F247E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F247E#FFFFFF#000000##FFFFFF
##7F247E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164581
Deuteranopia (green-blind)
#3C507C
Tritanopia (blue-blind)
#83314E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f247e;
/* rgb */ color: rgb(127, 36, 126);
/* oklch */ color: oklch(43.9% 0.164 328.4);
Tailwind
colors: {
  custom: {
    50: '#a768a4',
    500: '#7f247e',
    950: '#000000',
  },
}
SCSS
$custom: #7f247e;
$custom-light: #a768a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f247e",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 300.659,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43902,
    "c": 0.16366,
    "h": 328.4
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#7F247E
secondary
#4EB14F
accent
#DF4A49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F247E

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

Preview Lab → · Contrast checker → · Palette generator →

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