#7A147C#7A147C

#7A147C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.176 H 327.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7A147C
RGBrgb(122, 20, 124)
HSLhsl(299, 72%, 28%)
HSVhsv(299, 84%, 49%)
CMYKcmyk(1.6%, 83.9%, 0%, 51.4%)
CIE-LABlab(29.65, 53.47, -34.25)
CIE-LCHlch(29.65, 63.50, 327.36°)
OKLaboklab(41.7% 0.1483 -0.0952)
OKLCHoklch(41.7% 0.176 327.3)
XYZxyz(11.9141, 6.0940, 19.6136)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A147C #167C14
analogous
#46147C #7A147C #7C144A
triadic
#7A147C #7C7A14 #147C7A
tetradic
#7A147C #7C4614 #167C14 #144A7C
square
#7A147C #7C4614 #167C14 #144A7C
split-complementary
#7A147C #4A7C14 #147C46
monochromatic
#1A041A #460B47 #7A147C #AE1DB1 #DA2DDD

Accessibility & contrast

On white

9.47
#7A147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A147C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A147C#FFFFFF#000000##FFFFFF
##7A147C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#324A7A
Tritanopia (blue-blind)
#7E2849
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a147c;
/* rgb */ color: rgb(122, 20, 124);
/* oklch */ color: oklch(41.7% 0.176 327.3);
Tailwind
colors: {
  custom: {
    50: '#a461a2',
    500: '#7a147c',
    950: '#000000',
  },
}
SCSS
$custom: #7a147c;
$custom-light: #a461a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a147c",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 298.846,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.17619,
    "h": 327.3
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#7A147C
secondary
#3DB23A
accent
#EF393C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A147C

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

Preview Lab → · Contrast checker → · Palette generator →

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