#7E32A3#7E32A3

#7E32A3 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.179 H 312.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7E32A3
RGBrgb(126, 50, 163)
HSLhsl(280, 53%, 42%)
HSVhsv(280, 69%, 64%)
CMYKcmyk(22.7%, 69.3%, 0%, 36.1%)
CIE-LABlab(36.67, 51.07, -46.95)
CIE-LCHlch(36.67, 69.37, 317.40°)
OKLaboklab(47.65% 0.1211 -0.1325)
OKLCHoklch(47.65% 0.18 312.4)
XYZxyz(16.3545, 9.3616, 35.5887)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32A3 #57A332
analogous
#4632A3 #7E32A3 #A33290
triadic
#7E32A3 #A37E32 #32A37E
tetradic
#7E32A3 #A34632 #57A332 #3290A3
square
#7E32A3 #A34632 #57A332 #3290A3
split-complementary
#7E32A3 #90A332 #32A346
monochromatic
#361545 #5A2474 #7E32A3 #9F4BC8 #B879D6

Accessibility & contrast

On white

7.31
#7E32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7E32A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E32A3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32A3#FFFFFF#000000##FFFFFF
##7E32A31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2758A0
Tritanopia (blue-blind)
#7A4967
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e32a3;
/* rgb */ color: rgb(126, 50, 163);
/* oklch */ color: oklch(47.6% 0.179 312.4);
Tailwind
colors: {
  custom: {
    50: '#a770bf',
    500: '#7e32a3',
    950: '#000000',
  },
}
SCSS
$custom: #7e32a3;
$custom-light: #a770bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32a3",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 280.354,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.1795,
    "h": 312.4
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#7E32A3
secondary
#8BBF72
accent
#DC4B7B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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