#7D1876#7D1876

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

Color values

HEX#7D1876
RGBrgb(125, 24, 118)
HSLhsl(304, 68%, 29%)
HSVhsv(304, 81%, 49%)
CMYKcmyk(0%, 80.8%, 5.6%, 51%)
CIE-LABlab(30.21, 52.02, -29.52)
CIE-LCHlch(30.21, 59.82, 330.43°)
OKLaboklab(42.09% 0.1486 -0.0814)
OKLCHoklch(42.09% 0.169 331.3)
XYZxyz(12.0541, 6.3222, 17.7215)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1876 #187D1F
analogous
#52187D #7D1876 #7D1844
triadic
#7D1876 #767D18 #18767D
tetradic
#7D1876 #7D5218 #187D1F #18447D
square
#7D1876 #7D5218 #187D1F #18447D
split-complementary
#7D1876 #447D18 #187D52
monochromatic
#1A0518 #4A0E46 #7D1876 #B022A6 #D937CD

Accessibility & contrast

On white

9.27
#7D1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1876
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1876#FFFFFF#000000##FFFFFF
##7D18761.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E78
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#822647
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1876;
/* rgb */ color: rgb(125, 24, 118);
/* oklch */ color: oklch(42.1% 0.169 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6629e',
    500: '#7d1876',
    950: '#000000',
  },
}
SCSS
$custom: #7d1876;
$custom-light: #a6629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1876",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 304.158,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4209,
    "c": 0.16944,
    "h": 331.3
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#7D1876
secondary
#3FB247
accent
#EB493D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1876

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

Preview Lab → · Contrast checker → · Palette generator →

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