#7A146D#7A146D

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

Color values

HEX#7A146D
RGBrgb(122, 20, 109)
HSLhsl(308, 72%, 28%)
HSVhsv(308, 84%, 48%)
CMYKcmyk(0%, 83.6%, 10.7%, 52.2%)
CIE-LABlab(28.75, 51.02, -26.11)
CIE-LCHlch(28.75, 57.32, 332.90°)
OKLaboklab(40.78% 0.1485 -0.0716)
OKLCHoklch(40.78% 0.165 334.3)
XYZxyz(11.0366, 5.7430, 14.9923)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A146D #147A21
analogous
#54147A #7A146D #7A143A
triadic
#7A146D #6D7A14 #146D7A
tetradic
#7A146D #7A5414 #147A21 #143A7A
square
#7A146D #7A5414 #147A21 #143A7A
split-complementary
#7A146D #3A7A14 #147A54
monochromatic
#1A0417 #450B3E #7A146D #AF1D9C #DC2CC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A146D#FFFFFF#000000##FFFFFF
##7A146D1.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)
#113A6F
Deuteranopia (green-blind)
#3A496B
Tritanopia (blue-blind)
#801F41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a146d;
/* rgb */ color: rgb(122, 20, 109);
/* oklch */ color: oklch(40.8% 0.165 334.3);
Tailwind
colors: {
  custom: {
    50: '#a46097',
    500: '#7a146d',
    950: '#000000',
  },
}
SCSS
$custom: #7a146d;
$custom-light: #a46097;
$custom-dark: #000000;
JSON
{
  "hex": "#7a146d",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 307.647,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40779,
    "c": 0.16484,
    "h": 334.3
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#7A146D
secondary
#3AB049
accent
#EF5039
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A146D

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

Preview Lab → · Contrast checker → · Palette generator →

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