#7E29A8#7E29A8

#7E29A8 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.195 H 311.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7E29A8
RGBrgb(126, 41, 168)
HSLhsl(280, 61%, 41%)
HSVhsv(280, 76%, 66%)
CMYKcmyk(25%, 75.6%, 0%, 34.1%)
CIE-LABlab(35.69, 55.91, -51.54)
CIE-LCHlch(35.69, 76.04, 317.33°)
OKLaboklab(47.06% 0.1297 -0.1459)
OKLCHoklch(47.06% 0.195 311.6)
XYZxyz(16.4637, 8.8491, 37.8790)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29A8 #53A829
analogous
#3E29A8 #7E29A8 #A82992
triadic
#7E29A8 #A87E29 #29A87E
tetradic
#7E29A8 #A83E29 #53A829 #2992A8
square
#7E29A8 #A83E29 #53A829 #2992A8
split-complementary
#7E29A8 #92A829 #29A83E
monochromatic
#341146 #591D77 #7E29A8 #A03ED0 #B86FDC

Accessibility & contrast

On white

7.58
#7E29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7E29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29A8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29A8#FFFFFF#000000##FFFFFF
##7E29A81.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#1355A5
Tritanopia (blue-blind)
#794667
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e29a8;
/* rgb */ color: rgb(126, 41, 168);
/* oklch */ color: oklch(47.1% 0.195 311.6);
Tailwind
colors: {
  custom: {
    50: '#a86cc3',
    500: '#7e29a8',
    950: '#000000',
  },
}
SCSS
$custom: #7e29a8;
$custom-light: #a86cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29a8",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 280.157,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47063,
    "c": 0.19518,
    "h": 311.6
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#7E29A8
secondary
#87C36A
accent
#E44479
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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