#7D2076#7D2076

#7D2076 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.161 H 331.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7D2076
RGBrgb(125, 32, 118)
HSLhsl(305, 59%, 31%)
HSVhsv(305, 74%, 49%)
CMYKcmyk(0%, 74.4%, 5.6%, 51%)
CIE-LABlab(31.12, 49.42, -28.09)
CIE-LCHlch(31.12, 56.85, 330.39°)
OKLaboklab(42.74% 0.1411 -0.0773)
OKLCHoklch(42.74% 0.161 331.3)
XYZxyz(12.2440, 6.7020, 17.7848)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2076 #207D27
analogous
#55207D #7D2076 #7D2047
triadic
#7D2076 #767D20 #20767D
tetradic
#7D2076 #7D5520 #207D27 #20477D
square
#7D2076 #7D5520 #207D27 #20477D
split-complementary
#7D2076 #477D20 #207D55
monochromatic
#1C071A #4C1448 #7D2076 #AE2CA4 #D047C6

Accessibility & contrast

On white

8.97
#7D2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7D2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2076
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2076#FFFFFF#000000##FFFFFF
##7D20761.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184178
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#822B49
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d2076;
/* rgb */ color: rgb(125, 32, 118);
/* oklch */ color: oklch(42.7% 0.161 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6669e',
    500: '#7d2076',
    950: '#000000',
  },
}
SCSS
$custom: #7d2076;
$custom-light: #a6669e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2076",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 304.516,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.16088,
    "h": 331.3
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#7D2076
secondary
#49B051
accent
#E25145
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2076

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

Preview Lab → · Contrast checker → · Palette generator →

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