#7A1776#7A1776

#7A1776 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.169 H 329.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7A1776
RGBrgb(122, 23, 118)
HSLhsl(302, 68%, 28%)
HSVhsv(302, 81%, 48%)
CMYKcmyk(0%, 81.1%, 3.3%, 52.2%)
CIE-LABlab(29.56, 51.65, -30.59)
CIE-LCHlch(29.56, 60.02, 329.36°)
OKLaboklab(41.52% 0.1462 -0.0846)
OKLCHoklch(41.52% 0.169 329.9)
XYZxyz(11.6024, 6.0593, 17.6945)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1776 #177A1B
analogous
#4C177A #7A1776 #7A1744
triadic
#7A1776 #767A17 #17767A
tetradic
#7A1776 #7A4C17 #177A1B #17447A
square
#7A1776 #7A4C17 #177A1B #17447A
split-complementary
#7A1776 #447A17 #177A4C
monochromatic
#1A0519 #470D44 #7A1776 #AD21A8 #D933D2

Accessibility & contrast

On white

9.50
#7A1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1776
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1776#FFFFFF#000000##FFFFFF
##7A17761.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#374A74
Tritanopia (blue-blind)
#7F2646
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1776;
/* rgb */ color: rgb(122, 23, 118);
/* oklch */ color: oklch(41.5% 0.169 329.9);
Tailwind
colors: {
  custom: {
    50: '#a4629e',
    500: '#7a1776',
    950: '#000000',
  },
}
SCSS
$custom: #7a1776;
$custom-light: #a4629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1776",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 302.424,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41523,
    "c": 0.16887,
    "h": 329.9
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#7A1776
secondary
#3EAF42
accent
#EB443D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1776

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

Preview Lab → · Contrast checker → · Palette generator →

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