#7D2877#7D2877

#7D2877 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.151 H 330.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7D2877
RGBrgb(125, 40, 119)
HSLhsl(304, 52%, 32%)
HSVhsv(304, 68%, 49%)
CMYKcmyk(0%, 68%, 4.8%, 51%)
CIE-LABlab(32.28, 46.47, -26.89)
CIE-LCHlch(32.28, 53.69, 329.95°)
OKLaboklab(43.6% 0.1321 -0.0739)
OKLCHoklch(43.6% 0.151 330.8)
XYZxyz(12.5460, 7.2104, 18.1801)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2877 #287D2E
analogous
#58287D #7D2877 #7D284D
triadic
#7D2877 #777D28 #28777D
tetradic
#7D2877 #7D5828 #287D2E #284D7D
square
#7D2877 #7D5828 #287D2E #284D7D
split-complementary
#7D2877 #4D7D28 #287D58
monochromatic
#200A1F #4F194B #7D2877 #AB37A3 #C956C1

Accessibility & contrast

On white

8.60
#7D2877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D2877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2877
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2877#FFFFFF#000000##FFFFFF
##7D28771.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224479
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#82314C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2877;
/* rgb */ color: rgb(125, 40, 119);
/* oklch */ color: oklch(43.6% 0.151 330.8);
Tailwind
colors: {
  custom: {
    50: '#a5699e',
    500: '#7d2877',
    950: '#000000',
  },
}
SCSS
$custom: #7d2877;
$custom-light: #a5699e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2877",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 304.235,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43597,
    "c": 0.15141,
    "h": 330.8
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#7D2877
secondary
#53AE59
accent
#DB574D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2877

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

Preview Lab → · Contrast checker → · Palette generator →

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