#7A146B#7A146B

#7A146B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 335.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7A146B
RGBrgb(122, 20, 107)
HSLhsl(309, 72%, 28%)
HSVhsv(309, 84%, 48%)
CMYKcmyk(0%, 83.6%, 12.3%, 52.2%)
CIE-LABlab(28.64, 50.72, -25.00)
CIE-LCHlch(28.64, 56.54, 333.76°)
OKLaboklab(40.66% 0.1484 -0.0684)
OKLCHoklch(40.66% 0.163 335.2)
XYZxyz(10.9302, 5.7004, 14.4317)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A146B #147A23
analogous
#56147A #7A146B #7A1438
triadic
#7A146B #6B7A14 #146B7A
tetradic
#7A146B #7A5614 #147A23 #14387A
square
#7A146B #7A5614 #147A23 #14387A
split-complementary
#7A146B #387A14 #147A56
monochromatic
#1A0417 #450B3D #7A146B #AF1D99 #DC2CC2

Accessibility & contrast

On white

9.81
#7A146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A146B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A146B#FFFFFF#000000##FFFFFF
##7A146B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6D
Deuteranopia (green-blind)
#3B4969
Tritanopia (blue-blind)
#801E3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a146b;
/* rgb */ color: rgb(122, 20, 107);
/* oklch */ color: oklch(40.7% 0.163 335.2);
Tailwind
colors: {
  custom: {
    50: '#a46095',
    500: '#7a146b',
    950: '#000000',
  },
}
SCSS
$custom: #7a146b;
$custom-light: #a46095;
$custom-dark: #000000;
JSON
{
  "hex": "#7a146b",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 308.824,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.16338,
    "h": 335.2
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#7A146B
secondary
#3AB04B
accent
#EF5439
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A146B

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

Preview Lab → · Contrast checker → · Palette generator →

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