#7D2177#7D2177

#7D2177 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.160 H 330.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7D2177
RGBrgb(125, 33, 119)
HSLhsl(304, 58%, 31%)
HSVhsv(304, 74%, 49%)
CMYKcmyk(0%, 73.6%, 4.8%, 51%)
CIE-LABlab(31.30, 49.23, -28.43)
CIE-LCHlch(31.30, 56.85, 329.99°)
OKLaboklab(42.89% 0.1401 -0.0783)
OKLCHoklch(42.89% 0.16 330.8)
XYZxyz(12.3310, 6.7806, 18.1085)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2177 #217D27
analogous
#55217D #7D2177 #7D2149
triadic
#7D2177 #777D21 #21777D
tetradic
#7D2177 #7D5521 #217D27 #21497D
square
#7D2177 #7D5521 #217D27 #21497D
split-complementary
#7D2177 #497D21 #217D55
monochromatic
#1C071B #4D1449 #7D2177 #AD2EA5 #CF49C6

Accessibility & contrast

On white

8.91
#7D2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2177
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2177#FFFFFF#000000##FFFFFF
##7D21771.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194279
Deuteranopia (green-blind)
#3D4E75
Tritanopia (blue-blind)
#822C49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2177;
/* rgb */ color: rgb(125, 33, 119);
/* oklch */ color: oklch(42.9% 0.160 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6669e',
    500: '#7d2177',
    950: '#000000',
  },
}
SCSS
$custom: #7d2177;
$custom-light: #a6669e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2177",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 303.913,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4289,
    "c": 0.16048,
    "h": 330.8
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#7D2177
secondary
#4AB051
accent
#E15046
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2177

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

Preview Lab → · Contrast checker → · Palette generator →

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