#7C29A4#7C29A4

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

Color values

HEX#7C29A4
RGBrgb(124, 41, 164)
HSLhsl(280, 60%, 40%)
HSVhsv(280, 75%, 64%)
CMYKcmyk(24.4%, 75%, 0%, 35.7%)
CIE-LABlab(35.11, 54.66, -50.10)
CIE-LCHlch(35.11, 74.15, 317.50°)
OKLaboklab(46.5% 0.1277 -0.1417)
OKLCHoklch(46.5% 0.191 312)
XYZxyz(15.8047, 8.5517, 35.9329)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29A4 #51A429
analogous
#3F29A4 #7C29A4 #A4298E
triadic
#7C29A4 #A47C29 #29A47C
tetradic
#7C29A4 #A43F29 #51A429 #298EA4
square
#7C29A4 #A43F29 #51A429 #298EA4
split-complementary
#7C29A4 #8EA429 #29A43F
monochromatic
#321142 #571D73 #7C29A4 #9F3CCE #B76DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C29A4#FFFFFF#000000##FFFFFF
##7C29A41.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)
#004FA7
Deuteranopia (green-blind)
#1754A1
Tritanopia (blue-blind)
#774565
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c29a4;
/* rgb */ color: rgb(124, 41, 164);
/* oklch */ color: oklch(46.5% 0.191 312.0);
Tailwind
colors: {
  custom: {
    50: '#a66bc0',
    500: '#7c29a4',
    950: '#000000',
  },
}
SCSS
$custom: #7c29a4;
$custom-light: #a66bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29a4",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 280.488,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.19074,
    "h": 312
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#7C29A4
secondary
#85C168
accent
#E34578
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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