#7F147A#7F147A

#7F147A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.177 H 330.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7F147A
RGBrgb(127, 20, 122)
HSLhsl(303, 73%, 29%)
HSVhsv(303, 84%, 50%)
CMYKcmyk(0%, 84.3%, 3.9%, 50.2%)
CIE-LABlab(30.44, 54.18, -31.66)
CIE-LCHlch(30.44, 62.75, 329.70°)
OKLaboklab(42.4% 0.1538 -0.0875)
OKLCHoklch(42.4% 0.177 330.4)
XYZxyz(12.5154, 6.4185, 18.9883)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F147A #147F19
analogous
#4F147F #7F147A #7F1445
triadic
#7F147A #7A7F14 #147A7F
tetradic
#7F147A #7F4F14 #147F19 #14457F
square
#7F147A #7F4F14 #147F19 #14457F
split-complementary
#7F147A #457F14 #147F4F
monochromatic
#1A0419 #4A0C47 #7F147A #B41CAD #DE2FD6

Accessibility & contrast

On white

9.20
#7F147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F147A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F147A#FFFFFF#000000##FFFFFF
##7F147A1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#384D78
Tritanopia (blue-blind)
#842548
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f147a;
/* rgb */ color: rgb(127, 20, 122);
/* oklch */ color: oklch(42.4% 0.177 330.4);
Tailwind
colors: {
  custom: {
    50: '#a862a1',
    500: '#7f147a',
    950: '#000000',
  },
}
SCSS
$custom: #7f147a;
$custom-light: #a862a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f147a",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 302.804,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42402,
    "c": 0.17698,
    "h": 330.4
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#7F147A
secondary
#3BB440
accent
#EF4138
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7F147A

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

Preview Lab → · Contrast checker → · Palette generator →

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