#7F247F#7F247F

#7F247F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.165 H 327.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7F247F
RGBrgb(127, 36, 127)
HSLhsl(300, 56%, 32%)
HSVhsv(300, 72%, 50%)
CMYKcmyk(0%, 71.7%, 0%, 50.2%)
CIE-LABlab(32.50, 49.99, -31.55)
CIE-LCHlch(32.50, 59.11, 327.74°)
OKLaboklab(43.96% 0.1394 -0.0873)
OKLCHoklch(43.96% 0.165 327.9)
XYZxyz(13.2139, 7.3070, 20.7890)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F247F #247F24
analogous
#52247F #7F247F #7F2452
triadic
#7F247F #7F7F24 #247F7F
tetradic
#7F247F #7F5224 #247F24 #24527F
square
#7F247F #7F5224 #247F24 #24527F
split-complementary
#7F247F #527F24 #247F52
monochromatic
#200920 #4F164F #7F247F #AF32AF #CD50CD

Accessibility & contrast

On white

8.53
#7F247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F247F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F247F#FFFFFF#000000##FFFFFF
##7F247F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154582
Deuteranopia (green-blind)
#3C517D
Tritanopia (blue-blind)
#83314F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f247f;
/* rgb */ color: rgb(127, 36, 127);
/* oklch */ color: oklch(44.0% 0.165 327.9);
Tailwind
colors: {
  custom: {
    50: '#a768a4',
    500: '#7f247f',
    950: '#000000',
  },
}
SCSS
$custom: #7f247f;
$custom-light: #a768a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f247f",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 300,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43962,
    "c": 0.1645,
    "h": 327.9
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#7F247F
secondary
#4EB14E
accent
#DF4949
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F247F

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

Preview Lab → · Contrast checker → · Palette generator →

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