#7E29AC#7E29AC

#7E29AC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.4% C 0.199 H 310.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7E29AC
RGBrgb(126, 41, 172)
HSLhsl(279, 62%, 42%)
HSVhsv(279, 76%, 67%)
CMYKcmyk(26.7%, 76.2%, 0%, 32.5%)
CIE-LABlab(35.99, 56.76, -53.46)
CIE-LCHlch(35.99, 77.97, 316.72°)
OKLaboklab(47.36% 0.129 -0.1515)
OKLCHoklch(47.36% 0.199 310.4)
XYZxyz(16.8421, 9.0004, 39.8718)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29AC #57AC29
analogous
#3D29AC #7E29AC #AC2999
triadic
#7E29AC #AC7E29 #29AC7E
tetradic
#7E29AC #AC3D29 #57AC29 #2999AC
square
#7E29AC #AC3D29 #57AC29 #2999AC
split-complementary
#7E29AC #99AC29 #29AC3D
monochromatic
#361149 #5A1D7B #7E29AC #9F41D2 #B872DD

Accessibility & contrast

On white

7.50
#7E29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7E29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29AC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29AC#FFFFFF#000000##FFFFFF
##7E29AC1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0656A9
Tritanopia (blue-blind)
#784869
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e29ac;
/* rgb */ color: rgb(126, 41, 172);
/* oklch */ color: oklch(47.4% 0.199 310.4);
Tailwind
colors: {
  custom: {
    50: '#a86cc6',
    500: '#7e29ac',
    950: '#000000',
  },
}
SCSS
$custom: #7e29ac;
$custom-light: #a86cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29ac",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 278.931,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.19896,
    "h": 310.4
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#7E29AC
secondary
#8BC56C
accent
#E5437C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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