#7D1777#7D1777

#7D1777 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.171 H 330.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7D1777
RGBrgb(125, 23, 119)
HSLhsl(304, 69%, 29%)
HSVhsv(304, 82%, 49%)
CMYKcmyk(0%, 81.6%, 4.8%, 51%)
CIE-LABlab(30.17, 52.47, -30.22)
CIE-LCHlch(30.17, 60.55, 330.06°)
OKLaboklab(42.08% 0.1494 -0.0834)
OKLCHoklch(42.08% 0.171 330.8)
XYZxyz(12.0936, 6.3057, 18.0294)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1777 #177D1D
analogous
#50177D #7D1777 #7D1744
triadic
#7D1777 #777D17 #17777D
tetradic
#7D1777 #7D5017 #177D1D #17447D
square
#7D1777 #7D5017 #177D1D #17447D
split-complementary
#7D1777 #447D17 #177D50
monochromatic
#1A0519 #490D46 #7D1777 #B121A8 #DA35D0

Accessibility & contrast

On white

9.29
#7D1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1777
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1777#FFFFFF#000000##FFFFFF
##7D17771.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083E79
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#822647
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1777;
/* rgb */ color: rgb(125, 23, 119);
/* oklch */ color: oklch(42.1% 0.171 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6629e',
    500: '#7d1777',
    950: '#000000',
  },
}
SCSS
$custom: #7d1777;
$custom-light: #a6629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1777",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 303.529,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.17113,
    "h": 330.8
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#7D1777
secondary
#3EB245
accent
#EC463C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1777

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

Preview Lab → · Contrast checker → · Palette generator →

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