#7E32AC#7E32AC

#7E32AC is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.189 H 309.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7E32AC
RGBrgb(126, 50, 172)
HSLhsl(277, 55%, 44%)
HSVhsv(277, 71%, 67%)
CMYKcmyk(26.7%, 70.9%, 0%, 32.5%)
CIE-LABlab(37.29, 53.06, -51.34)
CIE-LCHlch(37.29, 73.83, 315.94°)
OKLaboklab(48.29% 0.1201 -0.1454)
OKLCHoklch(48.29% 0.189 309.6)
XYZxyz(17.1897, 9.6957, 39.9876)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32AC #60AC32
analogous
#4132AC #7E32AC #AC329D
triadic
#7E32AC #AC7E32 #32AC7E
tetradic
#7E32AC #AC4132 #60AC32 #329DAC
square
#7E32AC #AC4132 #60AC32 #329DAC
split-complementary
#7E32AC #9DAC32 #32AC41
monochromatic
#39164D #5B247D #7E32AC #9D4FCC #B77FDA

Accessibility & contrast

On white

7.15
#7E32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7E32AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E32AC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32AC#FFFFFF#000000##FFFFFF
##7E32AC1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#1A59A9
Tritanopia (blue-blind)
#774D6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e32ac;
/* rgb */ color: rgb(126, 50, 172);
/* oklch */ color: oklch(48.3% 0.189 309.6);
Tailwind
colors: {
  custom: {
    50: '#a870c5',
    500: '#7e32ac',
    950: '#000000',
  },
}
SCSS
$custom: #7e32ac;
$custom-light: #a870c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32ac",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 277.377,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.18857,
    "h": 309.6
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#7E32AC
secondary
#94C377
accent
#DE4A82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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