#7E32AE#7E32AE

#7E32AE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.191 H 309.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7E32AE
RGBrgb(126, 50, 174)
HSLhsl(277, 55%, 44%)
HSVhsv(277, 71%, 68%)
CMYKcmyk(27.6%, 71.3%, 0%, 31.8%)
CIE-LABlab(37.43, 53.50, -52.31)
CIE-LCHlch(37.43, 74.82, 315.65°)
OKLaboklab(48.43% 0.1199 -0.1482)
OKLCHoklch(48.43% 0.191 309)
XYZxyz(17.3832, 9.7731, 41.0069)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32AE #62AE32
analogous
#4032AE #7E32AE #AE32A0
triadic
#7E32AE #AE7E32 #32AE7E
tetradic
#7E32AE #AE4032 #62AE32 #32A0AE
square
#7E32AE #AE4032 #62AE32 #32A0AE
split-complementary
#7E32AE #A0AE32 #32AE40
monochromatic
#39174F #5C247E #7E32AE #9D50CD #B780DA

Accessibility & contrast

On white

7.11
#7E32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7E32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E32AE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32AE#FFFFFF#000000##FFFFFF
##7E32AE1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#1559AB
Tritanopia (blue-blind)
#774E6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e32ae;
/* rgb */ color: rgb(126, 50, 174);
/* oklch */ color: oklch(48.4% 0.191 309.0);
Tailwind
colors: {
  custom: {
    50: '#a871c7',
    500: '#7e32ae',
    950: '#000000',
  },
}
SCSS
$custom: #7e32ae;
$custom-light: #a871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32ae",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 276.774,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.19059,
    "h": 309
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#7E32AE
secondary
#95C478
accent
#DF4983
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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