#7D1C86#7D1C86

#7D1C86 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.178 H 324.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7D1C86
RGBrgb(125, 28, 134)
HSLhsl(295, 65%, 32%)
HSVhsv(295, 79%, 53%)
CMYKcmyk(6.7%, 79.1%, 0%, 47.5%)
CIE-LABlab(31.61, 53.57, -37.36)
CIE-LCHlch(31.61, 65.31, 325.11°)
OKLaboklab(43.4% 0.1446 -0.1042)
OKLCHoklch(43.4% 0.178 324.2)
XYZxyz(13.1754, 6.9126, 23.1899)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C86 #25861C
analogous
#481C86 #7D1C86 #861C5A
triadic
#7D1C86 #867D1C #1C867D
tetradic
#7D1C86 #86481C #25861C #1C5A86
square
#7D1C86 #86481C #25861C #1C5A86
split-complementary
#7D1C86 #5A861C #1C8648
monochromatic
#1F0721 #4E1153 #7D1C86 #AC27B9 #CB44D8

Accessibility & contrast

On white

8.81
#7D1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C86
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C86#FFFFFF#000000##FFFFFF
##7D1C861.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#7F3051
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1c86;
/* rgb */ color: rgb(125, 28, 134);
/* oklch */ color: oklch(43.4% 0.178 324.2);
Tailwind
colors: {
  custom: {
    50: '#a665aa',
    500: '#7d1c86',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c86;
$custom-light: #a665aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c86",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 294.906,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.17827,
    "h": 324.2
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#7D1C86
secondary
#4FB945
accent
#E83F4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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