#7A1777#7A1777

#7A1777 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.170 H 329.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7A1777
RGBrgb(122, 23, 119)
HSLhsl(302, 68%, 28%)
HSVhsv(302, 81%, 48%)
CMYKcmyk(0%, 81.1%, 2.5%, 52.2%)
CIE-LABlab(29.62, 51.81, -31.13)
CIE-LCHlch(29.62, 60.44, 329.00°)
OKLaboklab(41.59% 0.1462 -0.0861)
OKLCHoklch(41.59% 0.17 329.5)
XYZxyz(11.6621, 6.0832, 18.0091)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1777 #177A1A
analogous
#4B177A #7A1777 #7A1745
triadic
#7A1777 #777A17 #17777A
tetradic
#7A1777 #7A4B17 #177A1A #17457A
square
#7A1777 #7A4B17 #177A1A #17457A
split-complementary
#7A1777 #457A17 #177A4B
monochromatic
#1A0519 #470D45 #7A1777 #AD21A9 #D933D3

Accessibility & contrast

On white

9.47
#7A1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1777
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1777#FFFFFF#000000##FFFFFF
##7A17771.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D79
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#7F2747
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1777;
/* rgb */ color: rgb(122, 23, 119);
/* oklch */ color: oklch(41.6% 0.170 329.5);
Tailwind
colors: {
  custom: {
    50: '#a4629f',
    500: '#7a1777',
    950: '#000000',
  },
}
SCSS
$custom: #7a1777;
$custom-light: #a4629f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1777",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 301.818,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41585,
    "c": 0.16965,
    "h": 329.5
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#7A1777
secondary
#3EAF41
accent
#EB423D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1777

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

Preview Lab → · Contrast checker → · Palette generator →

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