#7D1AA7#7D1AA7

#7D1AA7 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.6% C 0.208 H 312.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7D1AA7
RGBrgb(125, 26, 167)
HSLhsl(282, 73%, 38%)
HSVhsv(282, 84%, 65%)
CMYKcmyk(25.1%, 84.4%, 0%, 34.5%)
CIE-LABlab(33.75, 60.48, -54.09)
CIE-LCHlch(33.75, 81.14, 318.19°)
OKLaboklab(45.65% 0.1405 -0.1533)
OKLCHoklch(45.65% 0.208 312.5)
XYZxyz(15.8006, 7.8893, 37.2422)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1AA7 #44A71A
analogous
#371AA7 #7D1AA7 #A71A8A
triadic
#7D1AA7 #A77D1A #1AA77D
tetradic
#7D1AA7 #A7371A #44A71A #1A8AA7
square
#7D1AA7 #A7371A #44A71A #1A8AA7
split-complementary
#7D1AA7 #8AA71A #1AA737
monochromatic
#2E0A3D #551272 #7D1AA7 #A522DC #BA57E5

Accessibility & contrast

On white

8.15
#7D1AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D1AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1AA7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1AA7#FFFFFF#000000##FFFFFF
##7D1AA71.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#784063
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d1aa7;
/* rgb */ color: rgb(125, 26, 167);
/* oklch */ color: oklch(45.6% 0.208 312.5);
Tailwind
colors: {
  custom: {
    50: '#a866c2',
    500: '#7d1aa7',
    950: '#000000',
  },
}
SCSS
$custom: #7d1aa7;
$custom-light: #a866c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1aa7",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 167
  },
  "hsl": {
    "h": 282.128,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.20797,
    "h": 312.5
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#7D1AA7
secondary
#77C855
accent
#F0386F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7D1AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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