#7A147F#7A147F

#7A147F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.179 H 326.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7A147F
RGBrgb(122, 20, 127)
HSLhsl(297, 73%, 29%)
HSVhsv(297, 84%, 50%)
CMYKcmyk(3.9%, 84.3%, 0%, 50.2%)
CIE-LABlab(29.84, 53.99, -35.83)
CIE-LCHlch(29.84, 64.80, 326.43°)
OKLaboklab(41.9% 0.148 -0.0998)
OKLCHoklch(41.9% 0.179 326)
XYZxyz(12.1067, 6.1710, 20.6280)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A147F #197F14
analogous
#45147F #7A147F #7F144F
triadic
#7A147F #7F7A14 #147F7A
tetradic
#7A147F #7F4514 #197F14 #144F7F
square
#7A147F #7F4514 #197F14 #144F7F
split-complementary
#7A147F #4F7F14 #147F45
monochromatic
#19041A #470C4A #7A147F #AD1CB4 #D62FDE

Accessibility & contrast

On white

9.40
#7A147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A147F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A147F#FFFFFF#000000##FFFFFF
##7A147F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#304A7D
Tritanopia (blue-blind)
#7D294B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a147f;
/* rgb */ color: rgb(122, 20, 127);
/* oklch */ color: oklch(41.9% 0.179 326.0);
Tailwind
colors: {
  custom: {
    50: '#a461a5',
    500: '#7a147f',
    950: '#000000',
  },
}
SCSS
$custom: #7a147f;
$custom-light: #a461a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a147f",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 297.196,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.419,
    "c": 0.17854,
    "h": 326
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#7A147F
secondary
#40B43B
accent
#EF3841
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A147F

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

Preview Lab → · Contrast checker → · Palette generator →

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