#7E29A3#7E29A3

#7E29A3 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.190 H 313.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7E29A3
RGBrgb(126, 41, 163)
HSLhsl(282, 60%, 40%)
HSVhsv(282, 75%, 64%)
CMYKcmyk(22.7%, 74.8%, 0%, 36.1%)
CIE-LABlab(35.33, 54.85, -49.11)
CIE-LCHlch(35.33, 73.62, 318.16°)
OKLaboklab(46.7% 0.1305 -0.1387)
OKLCHoklch(46.7% 0.19 313.2)
XYZxyz(16.0068, 8.6663, 35.4728)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29A3 #4EA329
analogous
#4129A3 #7E29A3 #A3298B
triadic
#7E29A3 #A37E29 #29A37E
tetradic
#7E29A3 #A34129 #4EA329 #298BA3
square
#7E29A3 #A34129 #4EA329 #298BA3
split-complementary
#7E29A3 #8BA329 #29A341
monochromatic
#321041 #581D72 #7E29A3 #A13BCE #B96CDA

Accessibility & contrast

On white

7.68
#7E29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E29A3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29A3#FFFFFF#000000##FFFFFF
##7E29A31.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1D55A0
Tritanopia (blue-blind)
#7A4464
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e29a3;
/* rgb */ color: rgb(126, 41, 163);
/* oklch */ color: oklch(46.7% 0.190 313.2);
Tailwind
colors: {
  custom: {
    50: '#a76cbf',
    500: '#7e29a3',
    950: '#000000',
  },
}
SCSS
$custom: #7e29a3;
$custom-light: #a76cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29a3",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 281.803,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.19046,
    "h": 313.2
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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