#7D1AA1#7D1AA1

#7D1AA1 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.2% C 0.203 H 314.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7D1AA1
RGBrgb(125, 26, 161)
HSLhsl(284, 72%, 37%)
HSVhsv(284, 84%, 63%)
CMYKcmyk(22.4%, 83.9%, 0%, 36.9%)
CIE-LABlab(33.29, 59.28, -51.22)
CIE-LCHlch(33.29, 78.34, 319.18°)
OKLaboklab(45.18% 0.142 -0.1449)
OKLCHoklch(45.18% 0.203 314.4)
XYZxyz(15.2588, 7.6725, 34.3885)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1AA1 #3EA11A
analogous
#3A1AA1 #7D1AA1 #A11A82
triadic
#7D1AA1 #A17D1A #1AA17D
tetradic
#7D1AA1 #A13A1A #3EA11A #1A82A1
square
#7D1AA1 #A13A1A #3EA11A #1A82A1
split-complementary
#7D1AA1 #82A11A #1AA13A
monochromatic
#2B0938 #54116C #7D1AA1 #A623D6 #BC52E3

Accessibility & contrast

On white

8.29
#7D1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1AA1
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1AA1#FFFFFF#000000##FFFFFF
##7D1AA11.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#0A519E
Tritanopia (blue-blind)
#7A3D60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d1aa1;
/* rgb */ color: rgb(125, 26, 161);
/* oklch */ color: oklch(45.2% 0.203 314.4);
Tailwind
colors: {
  custom: {
    50: '#a765be',
    500: '#7d1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #7d1aa1;
$custom-light: #a765be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1aa1",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 284,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.20283,
    "h": 314.4
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#7D1AA1
secondary
#70C651
accent
#EF3969
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7D1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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