#7A176F#7A176F

#7A176F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.164 H 333.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7A176F
RGBrgb(122, 23, 111)
HSLhsl(307, 68%, 28%)
HSVhsv(307, 81%, 48%)
CMYKcmyk(0%, 81.1%, 9%, 52.2%)
CIE-LABlab(29.16, 50.50, -26.76)
CIE-LCHlch(29.16, 57.16, 332.08°)
OKLaboklab(41.1% 0.1461 -0.0735)
OKLCHoklch(41.1% 0.164 333.3)
XYZxyz(11.2018, 5.8990, 15.5845)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A176F #177A22
analogous
#53177A #7A176F #7A173D
triadic
#7A176F #6F7A17 #176F7A
tetradic
#7A176F #7A5317 #177A22 #173D7A
square
#7A176F #7A5317 #177A22 #173D7A
split-complementary
#7A176F #3D7A17 #177A53
monochromatic
#1A0517 #470D40 #7A176F #AD219E #D933C6

Accessibility & contrast

On white

9.63
#7A176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A176F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A176F#FFFFFF#000000##FFFFFF
##7A176F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#3A4A6D
Tritanopia (blue-blind)
#802242
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a176f;
/* rgb */ color: rgb(122, 23, 111);
/* oklch */ color: oklch(41.1% 0.164 333.3);
Tailwind
colors: {
  custom: {
    50: '#a46198',
    500: '#7a176f',
    950: '#000000',
  },
}
SCSS
$custom: #7a176f;
$custom-light: #a46198;
$custom-dark: #000000;
JSON
{
  "hex": "#7a176f",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 306.667,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.16353,
    "h": 333.3
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#7A176F
secondary
#3EAF4A
accent
#EB503D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A176F

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

Preview Lab → · Contrast checker → · Palette generator →

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