#7D2876#7D2876

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

Color values

HEX#7D2876
RGBrgb(125, 40, 118)
HSLhsl(305, 52%, 32%)
HSVhsv(305, 68%, 49%)
CMYKcmyk(0%, 68%, 5.6%, 51%)
CIE-LABlab(32.23, 46.30, -26.34)
CIE-LCHlch(32.23, 53.27, 330.36°)
OKLaboklab(43.54% 0.132 -0.0723)
OKLCHoklch(43.54% 0.151 331.3)
XYZxyz(12.4862, 7.1865, 17.8655)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2876 #287D2F
analogous
#59287D #7D2876 #7D284C
triadic
#7D2876 #767D28 #28767D
tetradic
#7D2876 #7D5928 #287D2F #284C7D
square
#7D2876 #7D5928 #287D2F #284C7D
split-complementary
#7D2876 #4C7D28 #287D59
monochromatic
#200A1E #4F194A #7D2876 #AB37A2 #C956C0

Accessibility & contrast

On white

8.62
#7D2876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2876
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2876#FFFFFF#000000##FFFFFF
##7D28761.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#82314B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2876;
/* rgb */ color: rgb(125, 40, 118);
/* oklch */ color: oklch(43.5% 0.151 331.3);
Tailwind
colors: {
  custom: {
    50: '#a5699e',
    500: '#7d2876',
    950: '#000000',
  },
}
SCSS
$custom: #7d2876;
$custom-light: #a5699e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2876",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 304.941,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43541,
    "c": 0.15056,
    "h": 331.3
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#7D2876
secondary
#53AE5A
accent
#DB594D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2876

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

Preview Lab → · Contrast checker → · Palette generator →

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