#7D1A9E#7D1A9E

#7D1A9E is a dark, highly saturated purple. Relative luminance 0.076; OKLCH L 45.0% C 0.200 H 315.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7D1A9E
RGBrgb(125, 26, 158)
HSLhsl(285, 72%, 36%)
HSVhsv(285, 84%, 62%)
CMYKcmyk(20.9%, 83.5%, 0%, 38%)
CIE-LABlab(33.07, 58.69, -49.76)
CIE-LCHlch(33.07, 76.95, 319.71°)
OKLaboklab(44.95% 0.1426 -0.1406)
OKLCHoklch(44.95% 0.2 315.4)
XYZxyz(14.9974, 7.5680, 33.0119)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A9E #3B9E1A
analogous
#3B1A9E #7D1A9E #9E1A7D
triadic
#7D1A9E #9E7D1A #1A9E7D
tetradic
#7D1A9E #9E3B1A #3B9E1A #1A7D9E
square
#7D1A9E #9E3B1A #3B9E1A #1A7D9E
split-complementary
#7D1A9E #7D9E1A #1A9E3B
monochromatic
#2A0935 #531169 #7D1A9E #A723D3 #BE50E2

Accessibility & contrast

On white

8.36
#7D1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D1A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A9E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A9E#FFFFFF#000000##FFFFFF
##7D1A9E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#7A3B5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d1a9e;
/* rgb */ color: rgb(125, 26, 158);
/* oklch */ color: oklch(45.0% 0.200 315.4);
Tailwind
colors: {
  custom: {
    50: '#a765bb',
    500: '#7d1a9e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a9e;
$custom-light: #a765bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a9e",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 285,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.20028,
    "h": 315.4
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#7D1A9E
secondary
#6CC54F
accent
#EE3967
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7D1A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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