#7D1676#7D1676

#7D1676 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.171 H 331.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7D1676
RGBrgb(125, 22, 118)
HSLhsl(304, 70%, 29%)
HSVhsv(304, 82%, 49%)
CMYKcmyk(0%, 82.4%, 5.6%, 51%)
CIE-LABlab(30.02, 52.58, -29.83)
CIE-LCHlch(30.02, 60.46, 330.43°)
OKLaboklab(41.95% 0.1502 -0.0823)
OKLCHoklch(41.95% 0.171 331.3)
XYZxyz(12.0144, 6.2428, 17.7082)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1676 #167D1D
analogous
#51167D #7D1676 #7D1643
triadic
#7D1676 #767D16 #16767D
tetradic
#7D1676 #7D5116 #167D1D #16437D
square
#7D1676 #7D5116 #167D1D #16437D
split-complementary
#7D1676 #437D16 #167D51
monochromatic
#1A0519 #490D45 #7D1676 #B11FA7 #DB32D0

Accessibility & contrast

On white

9.34
#7D1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1676
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1676#FFFFFF#000000##FFFFFF
##7D16761.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083E78
Deuteranopia (green-blind)
#394C74
Tritanopia (blue-blind)
#822546
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1676;
/* rgb */ color: rgb(125, 22, 118);
/* oklch */ color: oklch(42.0% 0.171 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6629e',
    500: '#7d1676',
    950: '#000000',
  },
}
SCSS
$custom: #7d1676;
$custom-light: #a6629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1676",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 304.078,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41952,
    "c": 0.17129,
    "h": 331.3
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#7D1676
secondary
#3DB245
accent
#ED473B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1676

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

Preview Lab → · Contrast checker → · Palette generator →

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