#7D1776#7D1776

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

Color values

HEX#7D1776
RGBrgb(125, 23, 118)
HSLhsl(304, 69%, 29%)
HSVhsv(304, 82%, 49%)
CMYKcmyk(0%, 81.6%, 5.6%, 51%)
CIE-LABlab(30.11, 52.31, -29.68)
CIE-LCHlch(30.11, 60.14, 330.43°)
OKLaboklab(42.02% 0.1494 -0.0819)
OKLCHoklch(42.02% 0.17 331.3)
XYZxyz(12.0339, 6.2818, 17.7147)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1776 #177D1E
analogous
#51177D #7D1776 #7D1743
triadic
#7D1776 #767D17 #17767D
tetradic
#7D1776 #7D5117 #177D1E #17437D
square
#7D1776 #7D5117 #177D1E #17437D
split-complementary
#7D1776 #437D17 #177D51
monochromatic
#1A0518 #490D45 #7D1776 #B121A7 #DA35CE

Accessibility & contrast

On white

9.31
#7D1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1776
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1776#FFFFFF#000000##FFFFFF
##7D17761.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1776;
/* rgb */ color: rgb(125, 23, 118);
/* oklch */ color: oklch(42.0% 0.170 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6629e',
    500: '#7d1776',
    950: '#000000',
  },
}
SCSS
$custom: #7d1776;
$custom-light: #a6629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1776",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 304.118,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.17037,
    "h": 331.3
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#7D1776
secondary
#3EB246
accent
#EC483C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1776

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

Preview Lab → · Contrast checker → · Palette generator →

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