#7F147F#7F147F

#7F147F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.181 H 328.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7F147F
RGBrgb(127, 20, 127)
HSLhsl(300, 73%, 29%)
HSVhsv(300, 84%, 50%)
CMYKcmyk(0%, 84.3%, 0%, 50.2%)
CIE-LABlab(30.75, 55.00, -34.33)
CIE-LCHlch(30.75, 64.84, 328.03°)
OKLaboklab(42.72% 0.1536 -0.0953)
OKLCHoklch(42.72% 0.181 328.2)
XYZxyz(12.8332, 6.5456, 20.6621)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F147F #147F14
analogous
#4A147F #7F147F #7F144A
triadic
#7F147F #7F7F14 #147F7F
tetradic
#7F147F #7F4A14 #147F14 #144A7F
square
#7F147F #7F4A14 #147F14 #144A7F
split-complementary
#7F147F #4A7F14 #147F4A
monochromatic
#1A041A #4A0C4A #7F147F #B41CB4 #DE2FDE

Accessibility & contrast

On white

9.09
#7F147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F147F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F147F#FFFFFF#000000##FFFFFF
##7F147F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#83284B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f147f;
/* rgb */ color: rgb(127, 20, 127);
/* oklch */ color: oklch(42.7% 0.181 328.2);
Tailwind
colors: {
  custom: {
    50: '#a862a4',
    500: '#7f147f',
    950: '#000000',
  },
}
SCSS
$custom: #7f147f;
$custom-light: #a862a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f147f",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 300,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.18076,
    "h": 328.2
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#7F147F
secondary
#3BB43B
accent
#EF3838
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F147F

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

Preview Lab → · Contrast checker → · Palette generator →

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