#7D1A86#7D1A86

#7D1A86 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.180 H 324.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7D1A86
RGBrgb(125, 26, 134)
HSLhsl(295, 68%, 31%)
HSVhsv(295, 81%, 53%)
CMYKcmyk(6.7%, 80.6%, 0%, 47.5%)
CIE-LABlab(31.40, 54.18, -37.70)
CIE-LCHlch(31.40, 66.00, 325.17°)
OKLaboklab(43.25% 0.1463 -0.1052)
OKLCHoklch(43.25% 0.18 324.3)
XYZxyz(13.1296, 6.8208, 23.1746)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A86 #23861A
analogous
#471A86 #7D1A86 #861A59
triadic
#7D1A86 #867D1A #1A867D
tetradic
#7D1A86 #86471A #23861A #1A5986
square
#7D1A86 #86471A #23861A #1A5986
split-complementary
#7D1A86 #59861A #1A8647
monochromatic
#1D061F #4D1053 #7D1A86 #AD24B9 #CD40DA

Accessibility & contrast

On white

8.88
#7D1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A86
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A86#FFFFFF#000000##FFFFFF
##7D1A861.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#802F50
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1a86;
/* rgb */ color: rgb(125, 26, 134);
/* oklch */ color: oklch(43.2% 0.180 324.3);
Tailwind
colors: {
  custom: {
    50: '#a664aa',
    500: '#7d1a86',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a86;
$custom-light: #a664aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a86",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 295,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43248,
    "c": 0.18021,
    "h": 324.3
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#7D1A86
secondary
#4CB942
accent
#EA3D4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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