#7D29A4#7D29A4

#7D29A4 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.191 H 312.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7D29A4
RGBrgb(125, 41, 164)
HSLhsl(281, 60%, 40%)
HSVhsv(281, 75%, 64%)
CMYKcmyk(23.8%, 75%, 0%, 35.7%)
CIE-LABlab(35.26, 54.86, -49.85)
CIE-LCHlch(35.26, 74.13, 317.74°)
OKLaboklab(46.63% 0.129 -0.1409)
OKLCHoklch(46.63% 0.191 312.5)
XYZxyz(15.9500, 8.6266, 35.9397)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29A4 #50A429
analogous
#4029A4 #7D29A4 #A4298D
triadic
#7D29A4 #A47D29 #29A47D
tetradic
#7D29A4 #A44029 #50A429 #298DA4
square
#7D29A4 #A44029 #50A429 #298DA4
split-complementary
#7D29A4 #8DA429 #29A440
monochromatic
#321142 #581D73 #7D29A4 #A03CCE #B86DDA

Accessibility & contrast

On white

7.71
#7D29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7D29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29A4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29A4#FFFFFF#000000##FFFFFF
##7D29A41.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#1955A1
Tritanopia (blue-blind)
#784565
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d29a4;
/* rgb */ color: rgb(125, 41, 164);
/* oklch */ color: oklch(46.6% 0.191 312.5);
Tailwind
colors: {
  custom: {
    50: '#a76cc0',
    500: '#7d29a4',
    950: '#000000',
  },
}
SCSS
$custom: #7d29a4;
$custom-light: #a76cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29a4",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 280.976,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.19107,
    "h": 312.5
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#7D29A4
secondary
#84C168
accent
#E34577
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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