#7C147F#7C147F

#7C147F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.179 H 326.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7C147F
RGBrgb(124, 20, 127)
HSLhsl(298, 73%, 29%)
HSVhsv(298, 84%, 50%)
CMYKcmyk(2.4%, 84.3%, 0%, 50.2%)
CIE-LABlab(30.20, 54.39, -35.23)
CIE-LCHlch(30.20, 64.81, 327.07°)
OKLaboklab(42.23% 0.1503 -0.098)
OKLCHoklch(42.23% 0.179 326.9)
XYZxyz(12.3929, 6.3186, 20.6414)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C147F #177F14
analogous
#47147F #7C147F #7F144D
triadic
#7C147F #7F7C14 #147F7C
tetradic
#7C147F #7F4714 #177F14 #144D7F
square
#7C147F #7F4714 #177F14 #144D7F
split-complementary
#7C147F #4D7F14 #147F47
monochromatic
#1A041A #480C4A #7C147F #B01CB4 #D92FDE

Accessibility & contrast

On white

9.28
#7C147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7C147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C147F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C147F#FFFFFF#000000##FFFFFF
##7C147F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#324B7D
Tritanopia (blue-blind)
#80294B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c147f;
/* rgb */ color: rgb(124, 20, 127);
/* oklch */ color: oklch(42.2% 0.179 326.9);
Tailwind
colors: {
  custom: {
    50: '#a661a4',
    500: '#7c147f',
    950: '#000000',
  },
}
SCSS
$custom: #7c147f;
$custom-light: #a661a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c147f",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 298.318,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.17942,
    "h": 326.9
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#7C147F
secondary
#3EB43B
accent
#EF383D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C147F

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

Preview Lab → · Contrast checker → · Palette generator →

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