#7A1977#7A1977

#7A1977 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.168 H 329.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7A1977
RGBrgb(122, 25, 119)
HSLhsl(302, 66%, 29%)
HSVhsv(302, 80%, 48%)
CMYKcmyk(0%, 79.5%, 2.5%, 52.2%)
CIE-LABlab(29.83, 51.22, -30.80)
CIE-LCHlch(29.83, 59.77, 328.98°)
OKLaboklab(41.73% 0.1445 -0.0852)
OKLCHoklch(41.73% 0.168 329.5)
XYZxyz(11.7034, 6.1657, 18.0229)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1977 #197A1C
analogous
#4D197A #7A1977 #7A1947
triadic
#7A1977 #777A19 #19777A
tetradic
#7A1977 #7A4D19 #197A1C #19477A
square
#7A1977 #7A4D19 #197A1C #19477A
split-complementary
#7A1977 #477A19 #197A4D
monochromatic
#190519 #470F45 #7A1977 #AD23A9 #D637D1

Accessibility & contrast

On white

9.40
#7A1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1977
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1977#FFFFFF#000000##FFFFFF
##7A19771.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073E79
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#7F2847
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1977;
/* rgb */ color: rgb(122, 25, 119);
/* oklch */ color: oklch(41.7% 0.168 329.5);
Tailwind
colors: {
  custom: {
    50: '#a4629e',
    500: '#7a1977',
    950: '#000000',
  },
}
SCSS
$custom: #7a1977;
$custom-light: #a4629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1977",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 301.856,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.16772,
    "h": 329.5
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#7A1977
secondary
#40AF44
accent
#E9443F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1977

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

Preview Lab → · Contrast checker → · Palette generator →

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