#7D29A2#7D29A2

#7D29A2 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.189 H 313.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7D29A2
RGBrgb(125, 41, 162)
HSLhsl(282, 60%, 40%)
HSVhsv(282, 75%, 64%)
CMYKcmyk(22.8%, 74.7%, 0%, 36.5%)
CIE-LABlab(35.11, 54.44, -48.87)
CIE-LCHlch(35.11, 73.16, 318.08°)
OKLaboklab(46.49% 0.1293 -0.1381)
OKLCHoklch(46.49% 0.189 313.1)
XYZxyz(15.7708, 8.5550, 34.9959)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29A2 #4EA229
analogous
#4129A2 #7D29A2 #A2298B
triadic
#7D29A2 #A27D29 #29A27D
tetradic
#7D29A2 #A24129 #4EA229 #298BA2
square
#7D29A2 #A24129 #4EA229 #298BA2
split-complementary
#7D29A2 #8BA229 #29A241
monochromatic
#321040 #571D71 #7D29A2 #A13BCD #B86CDA

Accessibility & contrast

On white

7.75
#7D29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7D29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29A2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29A2#FFFFFF#000000##FFFFFF
##7D29A21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#1D549F
Tritanopia (blue-blind)
#794464
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d29a2;
/* rgb */ color: rgb(125, 41, 162);
/* oklch */ color: oklch(46.5% 0.189 313.1);
Tailwind
colors: {
  custom: {
    50: '#a76bbe',
    500: '#7d29a2',
    950: '#000000',
  },
}
SCSS
$custom: #7d29a2;
$custom-light: #a76bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29a2",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 281.653,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.18917,
    "h": 313.1
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#7D29A2
secondary
#82C067
accent
#E34575
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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