#7B147A#7B147A

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

Color values

HEX#7B147A
RGBrgb(123, 20, 122)
HSLhsl(301, 72%, 28%)
HSVhsv(301, 84%, 48%)
CMYKcmyk(0%, 83.7%, 0.8%, 51.8%)
CIE-LABlab(29.71, 53.34, -32.88)
CIE-LCHlch(29.71, 62.66, 328.35°)
OKLaboklab(41.74% 0.1495 -0.0912)
OKLCHoklch(41.74% 0.175 328.6)
XYZxyz(11.9313, 6.1173, 18.9609)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B147A #147B15
analogous
#49147B #7B147A #7B1446
triadic
#7B147A #7A7B14 #147A7B
tetradic
#7B147A #7B4914 #147B15 #14467B
square
#7B147A #7B4914 #147B15 #14467B
split-complementary
#7B147A #467B14 #147B49
monochromatic
#1A041A #460B46 #7B147A #B01DAE #DD2DDB

Accessibility & contrast

On white

9.45
#7B147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B147A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B147A#FFFFFF#000000##FFFFFF
##7B147A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#344A78
Tritanopia (blue-blind)
#7F2648
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b147a;
/* rgb */ color: rgb(123, 20, 122);
/* oklch */ color: oklch(41.7% 0.175 328.6);
Tailwind
colors: {
  custom: {
    50: '#a561a1',
    500: '#7b147a',
    950: '#000000',
  },
}
SCSS
$custom: #7b147a;
$custom-light: #a561a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b147a",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 300.583,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41739,
    "c": 0.1751,
    "h": 328.6
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#7B147A
secondary
#3AB13B
accent
#EF3B39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B147A

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

Preview Lab → · Contrast checker → · Palette generator →

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