#7D1977#7D1977

#7D1977 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.169 H 330.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7D1977
RGBrgb(125, 25, 119)
HSLhsl(304, 67%, 29%)
HSVhsv(304, 80%, 49%)
CMYKcmyk(0%, 80%, 4.8%, 51%)
CIE-LABlab(30.37, 51.89, -29.90)
CIE-LCHlch(30.37, 59.89, 330.05°)
OKLaboklab(42.22% 0.1478 -0.0825)
OKLCHoklch(42.22% 0.169 330.8)
XYZxyz(12.1348, 6.3881, 18.0431)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1977 #197D1F
analogous
#51197D #7D1977 #7D1945
triadic
#7D1977 #777D19 #19777D
tetradic
#7D1977 #7D5119 #197D1F #19457D
square
#7D1977 #7D5119 #197D1F #19457D
split-complementary
#7D1977 #457D19 #197D51
monochromatic
#1A0518 #4A0F46 #7D1977 #B023A8 #D739CE

Accessibility & contrast

On white

9.22
#7D1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1977
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1977#FFFFFF#000000##FFFFFF
##7D19771.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F79
Deuteranopia (green-blind)
#3A4C75
Tritanopia (blue-blind)
#822747
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1977;
/* rgb */ color: rgb(125, 25, 119);
/* oklch */ color: oklch(42.2% 0.169 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6639e',
    500: '#7d1977',
    950: '#000000',
  },
}
SCSS
$custom: #7d1977;
$custom-light: #a6639e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1977",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 303.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.16924,
    "h": 330.8
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#7D1977
secondary
#40B147
accent
#EA493E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1977

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

Preview Lab → · Contrast checker → · Palette generator →

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