#7D1177#7D1177

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

Color values

HEX#7D1177
RGBrgb(125, 17, 119)
HSLhsl(303, 76%, 28%)
HSVhsv(303, 86%, 49%)
CMYKcmyk(0%, 86.4%, 4.8%, 51%)
CIE-LABlab(29.65, 53.99, -31.05)
CIE-LCHlch(29.65, 62.28, 330.10°)
OKLaboklab(41.71% 0.1538 -0.0858)
OKLCHoklch(41.71% 0.176 330.8)
XYZxyz(11.9877, 6.0938, 17.9940)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1177 #117D17
analogous
#4D117D #7D1177 #7D1141
triadic
#7D1177 #777D11 #11777D
tetradic
#7D1177 #7D4D11 #117D17 #11417D
square
#7D1177 #7D4D11 #117D17 #11417D
split-complementary
#7D1177 #417D11 #117D4D
monochromatic
#1B041A #470A44 #7D1177 #B318AA #E227D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1177#FFFFFF#000000##FFFFFF
##7D11771.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)
#003D7A
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#822246
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1177;
/* rgb */ color: rgb(125, 17, 119);
/* oklch */ color: oklch(41.7% 0.176 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6609f',
    500: '#7d1177',
    950: '#000000',
  },
}
SCSS
$custom: #7d1177;
$custom-light: #a6609f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1177",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 119
  },
  "hsl": {
    "h": 303.333,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.17612,
    "h": 330.8
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#7D1177
secondary
#37B33E
accent
#F34035
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1177

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

Preview Lab → · Contrast checker → · Palette generator →

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