#7E329A#7E329A

#7E329A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.170 H 315.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7E329A
RGBrgb(126, 50, 154)
HSLhsl(284, 51%, 40%)
HSVhsv(284, 68%, 60%)
CMYKcmyk(18.2%, 67.5%, 0%, 39.6%)
CIE-LABlab(36.08, 49.13, -42.47)
CIE-LCHlch(36.08, 64.94, 319.16°)
OKLaboklab(47.04% 0.1218 -0.1193)
OKLCHoklch(47.04% 0.17 315.6)
XYZxyz(15.5766, 9.0505, 31.4920)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E329A #4E9A32
analogous
#4A329A #7E329A #9A3282
triadic
#7E329A #9A7E32 #329A7E
tetradic
#7E329A #9A4A32 #4E9A32 #32829A
square
#7E329A #9A4A32 #4E9A32 #32829A
split-complementary
#7E329A #829A32 #329A4A
monochromatic
#32143E #58236C #7E329A #A146C3 #B974D2

Accessibility & contrast

On white

7.47
#7E329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7E329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E329A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E329A#FFFFFF#000000##FFFFFF
##7E329A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#315798
Tritanopia (blue-blind)
#7C4662
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e329a;
/* rgb */ color: rgb(126, 50, 154);
/* oklch */ color: oklch(47.0% 0.170 315.6);
Tailwind
colors: {
  custom: {
    50: '#a770b8',
    500: '#7e329a',
    950: '#000000',
  },
}
SCSS
$custom: #7e329a;
$custom-light: #a770b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e329a",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 283.846,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.47036,
    "c": 0.17049,
    "h": 315.6
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#7E329A
secondary
#82BA6E
accent
#DA4D73
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7E329A

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

Preview Lab → · Contrast checker → · Palette generator →

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