#7A176E#7A176E

#7A176E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.163 H 333.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7A176E
RGBrgb(122, 23, 110)
HSLhsl(307, 68%, 28%)
HSVhsv(307, 81%, 48%)
CMYKcmyk(0%, 81.1%, 9.8%, 52.2%)
CIE-LABlab(29.10, 50.35, -26.21)
CIE-LCHlch(29.10, 56.76, 332.50°)
OKLaboklab(41.05% 0.146 -0.0719)
OKLCHoklch(41.05% 0.163 333.8)
XYZxyz(11.1470, 5.8771, 15.2962)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A176E #177A23
analogous
#54177A #7A176E #7A173C
triadic
#7A176E #6E7A17 #176E7A
tetradic
#7A176E #7A5417 #177A23 #173C7A
square
#7A176E #7A5417 #177A23 #173C7A
split-complementary
#7A176E #3C7A17 #177A54
monochromatic
#1A0517 #470D40 #7A176E #AD219C #D933C4

Accessibility & contrast

On white

9.65
#7A176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A176E
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A176E#FFFFFF#000000##FFFFFF
##7A176E1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C70
Deuteranopia (green-blind)
#3B4A6C
Tritanopia (blue-blind)
#802242
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a176e;
/* rgb */ color: rgb(122, 23, 110);
/* oklch */ color: oklch(41.0% 0.163 333.8);
Tailwind
colors: {
  custom: {
    50: '#a46198',
    500: '#7a176e',
    950: '#000000',
  },
}
SCSS
$custom: #7a176e;
$custom-light: #a46198;
$custom-dark: #000000;
JSON
{
  "hex": "#7a176e",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 307.273,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.16278,
    "h": 333.8
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#7A176E
secondary
#3EAF4C
accent
#EB523D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A176E

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

Preview Lab → · Contrast checker → · Palette generator →

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