#7B146A#7B146A

#7B146A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.163 H 336.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7B146A
RGBrgb(123, 20, 106)
HSLhsl(310, 72%, 28%)
HSVhsv(310, 84%, 48%)
CMYKcmyk(0%, 83.7%, 13.8%, 51.8%)
CIE-LABlab(28.78, 50.79, -24.13)
CIE-LCHlch(28.78, 56.23, 334.59°)
OKLaboklab(40.78% 0.1493 -0.0659)
OKLCHoklch(40.78% 0.163 336.2)
XYZxyz(11.0203, 5.7529, 14.1629)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B146A #147B25
analogous
#58147B #7B146A #7B1436
triadic
#7B146A #6A7B14 #146A7B
tetradic
#7B146A #7B5814 #147B25 #14367B
square
#7B146A #7B5814 #147B25 #14367B
split-complementary
#7B146A #367B14 #147B58
monochromatic
#1A0417 #460B3D #7B146A #B01D97 #DD2DC0

Accessibility & contrast

On white

9.77
#7B146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B146A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B146A#FFFFFF#000000##FFFFFF
##7B146A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163A6C
Deuteranopia (green-blind)
#3C4968
Tritanopia (blue-blind)
#821D3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b146a;
/* rgb */ color: rgb(123, 20, 106);
/* oklch */ color: oklch(40.8% 0.163 336.2);
Tailwind
colors: {
  custom: {
    50: '#a56095',
    500: '#7b146a',
    950: '#000000',
  },
}
SCSS
$custom: #7b146a;
$custom-light: #a56095;
$custom-dark: #000000;
JSON
{
  "hex": "#7b146a",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 309.903,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.16322,
    "h": 336.2
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#7B146A
secondary
#3AB14E
accent
#EF5739
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B146A

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

Preview Lab → · Contrast checker → · Palette generator →

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