#7D29A1#7D29A1

#7D29A1 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.188 H 313.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7D29A1
RGBrgb(125, 41, 161)
HSLhsl(282, 59%, 40%)
HSVhsv(282, 75%, 63%)
CMYKcmyk(22.4%, 74.5%, 0%, 36.9%)
CIE-LABlab(35.04, 54.23, -48.38)
CIE-LCHlch(35.04, 72.67, 318.26°)
OKLaboklab(46.41% 0.1295 -0.1366)
OKLCHoklch(46.41% 0.188 313.5)
XYZxyz(15.6823, 8.5196, 34.5296)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29A1 #4DA129
analogous
#4129A1 #7D29A1 #A12989
triadic
#7D29A1 #A17D29 #29A17D
tetradic
#7D29A1 #A14129 #4DA129 #2989A1
square
#7D29A1 #A14129 #4DA129 #2989A1
split-complementary
#7D29A1 #89A129 #29A141
monochromatic
#31103F #571D70 #7D29A1 #A13ACD #B86BD9

Accessibility & contrast

On white

7.77
#7D29A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7D29A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29A1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29A1#FFFFFF#000000##FFFFFF
##7D29A11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#1E549E
Tritanopia (blue-blind)
#794463
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d29a1;
/* rgb */ color: rgb(125, 41, 161);
/* oklch */ color: oklch(46.4% 0.188 313.5);
Tailwind
colors: {
  custom: {
    50: '#a76bbd',
    500: '#7d29a1',
    950: '#000000',
  },
}
SCSS
$custom: #7d29a1;
$custom-light: #a76bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29a1",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 282,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46414,
    "c": 0.18824,
    "h": 313.5
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#7D29A1
secondary
#81C066
accent
#E34574
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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