#7E29AE#7E29AE

#7E29AE is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.201 H 309.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7E29AE
RGBrgb(126, 41, 174)
HSLhsl(278, 62%, 42%)
HSVhsv(278, 76%, 68%)
CMYKcmyk(27.6%, 76.4%, 0%, 31.8%)
CIE-LABlab(36.13, 57.20, -54.41)
CIE-LCHlch(36.13, 78.94, 316.43°)
OKLaboklab(47.51% 0.1286 -0.1543)
OKLCHoklch(47.51% 0.201 309.8)
XYZxyz(17.0356, 9.0778, 40.8910)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29AE #59AE29
analogous
#3C29AE #7E29AE #AE299B
triadic
#7E29AE #AE7E29 #29AE7E
tetradic
#7E29AE #AE3C29 #59AE29 #299BAE
square
#7E29AE #AE3C29 #59AE29 #299BAE
split-complementary
#7E29AE #9BAE29 #29AE3C
monochromatic
#36124B #5A1D7C #7E29AE #9E42D2 #B873DE

Accessibility & contrast

On white

7.46
#7E29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7E29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29AE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29AE#FFFFFF#000000##FFFFFF
##7E29AE1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#77496A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e29ae;
/* rgb */ color: rgb(126, 41, 174);
/* oklch */ color: oklch(47.5% 0.201 309.8);
Tailwind
colors: {
  custom: {
    50: '#a86cc7',
    500: '#7e29ae',
    950: '#000000',
  },
}
SCSS
$custom: #7e29ae;
$custom-light: #a86cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29ae",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 278.346,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.20086,
    "h": 309.8
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#7E29AE
secondary
#8DC56D
accent
#E5437D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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