#7A147A#7A147A

#7A147A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.175 H 328.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7A147A
RGBrgb(122, 20, 122)
HSLhsl(300, 72%, 28%)
HSVhsv(300, 84%, 48%)
CMYKcmyk(0%, 83.6%, 0%, 52.2%)
CIE-LABlab(29.52, 53.13, -33.18)
CIE-LCHlch(29.52, 62.65, 328.01°)
OKLaboklab(41.57% 0.1484 -0.0921)
OKLCHoklch(41.57% 0.175 328.2)
XYZxyz(11.7889, 6.0439, 18.9543)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A147A #147A14
analogous
#47147A #7A147A #7A1447
triadic
#7A147A #7A7A14 #147A7A
tetradic
#7A147A #7A4714 #147A14 #14477A
square
#7A147A #7A4714 #147A14 #14477A
split-complementary
#7A147A #477A14 #147A47
monochromatic
#1A041A #450B45 #7A147A #AF1DAF #DC2CDC

Accessibility & contrast

On white

9.51
#7A147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A147A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A147A#FFFFFF#000000##FFFFFF
##7A147A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#7E2748
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a147a;
/* rgb */ color: rgb(122, 20, 122);
/* oklch */ color: oklch(41.6% 0.175 328.2);
Tailwind
colors: {
  custom: {
    50: '#a461a1',
    500: '#7a147a',
    950: '#000000',
  },
}
SCSS
$custom: #7a147a;
$custom-light: #a461a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a147a",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41574,
    "c": 0.17464,
    "h": 328.2
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#7A147A
secondary
#3AB03A
accent
#EF3939
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A147A

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

Preview Lab → · Contrast checker → · Palette generator →

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