#7A147B#7A147B

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

Color values

HEX#7A147B
RGBrgb(122, 20, 123)
HSLhsl(299, 72%, 28%)
HSVhsv(299, 84%, 48%)
CMYKcmyk(0.8%, 83.7%, 0%, 51.8%)
CIE-LABlab(29.59, 53.30, -33.72)
CIE-LCHlch(29.59, 63.07, 327.68°)
OKLaboklab(41.64% 0.1483 -0.0937)
OKLCHoklch(41.64% 0.175 327.7)
XYZxyz(11.8512, 6.0688, 19.2823)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A147B #157B14
analogous
#46147B #7A147B #7B1449
triadic
#7A147B #7B7A14 #147B7A
tetradic
#7A147B #7B4614 #157B14 #14497B
square
#7A147B #7B4614 #157B14 #14497B
split-complementary
#7A147B #497B14 #147B46
monochromatic
#1A041A #460B46 #7A147B #AE1DB0 #DB2DDD

Accessibility & contrast

On white

9.49
#7A147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A147B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A147B#FFFFFF#000000##FFFFFF
##7A147B1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#7E2749
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a147b;
/* rgb */ color: rgb(122, 20, 123);
/* oklch */ color: oklch(41.6% 0.175 327.7);
Tailwind
colors: {
  custom: {
    50: '#a461a2',
    500: '#7a147b',
    950: '#000000',
  },
}
SCSS
$custom: #7a147b;
$custom-light: #a461a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a147b",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 299.417,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.17541,
    "h": 327.7
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#7A147B
secondary
#3BB13A
accent
#EF393B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A147B

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

Preview Lab → · Contrast checker → · Palette generator →

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