#7D2176#7D2176

#7D2176 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.160 H 331.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7D2176
RGBrgb(125, 33, 118)
HSLhsl(305, 58%, 31%)
HSVhsv(305, 74%, 49%)
CMYKcmyk(0%, 73.6%, 5.6%, 51%)
CIE-LABlab(31.25, 49.06, -27.89)
CIE-LCHlch(31.25, 56.43, 330.39°)
OKLaboklab(42.83% 0.14 -0.0767)
OKLCHoklch(42.83% 0.16 331.3)
XYZxyz(12.2713, 6.7567, 17.7939)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2176 #217D28
analogous
#56217D #7D2176 #7D2148
triadic
#7D2176 #767D21 #21767D
tetradic
#7D2176 #7D5621 #217D28 #21487D
square
#7D2176 #7D5621 #217D28 #21487D
split-complementary
#7D2176 #487D21 #217D56
monochromatic
#1C071B #4D1448 #7D2176 #AD2EA4 #CF49C5

Accessibility & contrast

On white

8.93
#7D2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2176
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2176#FFFFFF#000000##FFFFFF
##7D21761.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#822C49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2176;
/* rgb */ color: rgb(125, 33, 118);
/* oklch */ color: oklch(42.8% 0.160 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6669e',
    500: '#7d2176',
    950: '#000000',
  },
}
SCSS
$custom: #7d2176;
$custom-light: #a6669e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2176",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 304.565,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.15968,
    "h": 331.3
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#7D2176
secondary
#4AB052
accent
#E15246
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2176

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

Preview Lab → · Contrast checker → · Palette generator →

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