#7B147B#7B147B

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

Color values

HEX#7B147B
RGBrgb(123, 20, 123)
HSLhsl(300, 72%, 28%)
HSVhsv(300, 84%, 48%)
CMYKcmyk(0%, 83.7%, 0%, 51.8%)
CIE-LABlab(29.77, 53.51, -33.41)
CIE-LCHlch(29.77, 63.09, 328.02°)
OKLaboklab(41.8% 0.1494 -0.0927)
OKLCHoklch(41.8% 0.176 328.2)
XYZxyz(11.9935, 6.1422, 19.2889)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B147B #147B14
analogous
#47147B #7B147B #7B1447
triadic
#7B147B #7B7B14 #147B7B
tetradic
#7B147B #7B4714 #147B14 #14477B
square
#7B147B #7B4714 #147B14 #14477B
split-complementary
#7B147B #477B14 #147B47
monochromatic
#1A041A #460B46 #7B147B #B01DB0 #DD2DDD

Accessibility & contrast

On white

9.42
#7B147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B147B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B147B#FFFFFF#000000##FFFFFF
##7B147B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#334B79
Tritanopia (blue-blind)
#7F2749
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b147b;
/* rgb */ color: rgb(123, 20, 123);
/* oklch */ color: oklch(41.8% 0.176 328.2);
Tailwind
colors: {
  custom: {
    50: '#a561a2',
    500: '#7b147b',
    950: '#000000',
  },
}
SCSS
$custom: #7b147b;
$custom-light: #a561a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b147b",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 300,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41803,
    "c": 0.17587,
    "h": 328.2
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#7B147B
secondary
#3AB13A
accent
#EF3939
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B147B

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

Preview Lab → · Contrast checker → · Palette generator →

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