#7D29A3#7D29A3

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

Color values

HEX#7D29A3
RGBrgb(125, 41, 163)
HSLhsl(281, 60%, 40%)
HSVhsv(281, 75%, 64%)
CMYKcmyk(23.3%, 74.8%, 0%, 36.1%)
CIE-LABlab(35.18, 54.65, -49.36)
CIE-LCHlch(35.18, 73.64, 317.91°)
OKLaboklab(46.56% 0.1292 -0.1395)
OKLCHoklch(46.56% 0.19 312.8)
XYZxyz(15.8601, 8.5907, 35.4659)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29A3 #4FA329
analogous
#4029A3 #7D29A3 #A3298C
triadic
#7D29A3 #A37D29 #29A37D
tetradic
#7D29A3 #A34029 #4FA329 #298CA3
square
#7D29A3 #A34029 #4FA329 #298CA3
split-complementary
#7D29A3 #8CA329 #29A340
monochromatic
#321041 #571D72 #7D29A3 #A03BCE #B86CDA

Accessibility & contrast

On white

7.73
#7D29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29A3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29A3#FFFFFF#000000##FFFFFF
##7D29A31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d29a3;
/* rgb */ color: rgb(125, 41, 163);
/* oklch */ color: oklch(46.6% 0.190 312.8);
Tailwind
colors: {
  custom: {
    50: '#a76bbf',
    500: '#7d29a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d29a3;
$custom-light: #a76bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29a3",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 281.311,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.46559,
    "c": 0.19013,
    "h": 312.8
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#7D29A3
secondary
#83C167
accent
#E34576
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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