#7E329C#7E329C

#7E329C is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.172 H 314.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7E329C
RGBrgb(126, 50, 156)
HSLhsl(283, 51%, 40%)
HSVhsv(283, 68%, 61%)
CMYKcmyk(19.2%, 67.9%, 0%, 38.8%)
CIE-LABlab(36.21, 49.56, -43.47)
CIE-LCHlch(36.21, 65.92, 318.74°)
OKLaboklab(47.17% 0.1217 -0.1223)
OKLCHoklch(47.17% 0.172 314.9)
XYZxyz(15.7446, 9.1177, 32.3766)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E329C #509C32
analogous
#49329C #7E329C #9C3285
triadic
#7E329C #9C7E32 #329C7E
tetradic
#7E329C #9C4932 #509C32 #32859C
square
#7E329C #9C4932 #509C32 #32859C
split-complementary
#7E329C #859C32 #329C49
monochromatic
#33143F #59236E #7E329C #A147C4 #B875D3

Accessibility & contrast

On white

7.44
#7E329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7E329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E329C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E329C#FFFFFF#000000##FFFFFF
##7E329C1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#2F579A
Tritanopia (blue-blind)
#7C4763
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e329c;
/* rgb */ color: rgb(126, 50, 156);
/* oklch */ color: oklch(47.2% 0.172 314.9);
Tailwind
colors: {
  custom: {
    50: '#a770ba',
    500: '#7e329c',
    950: '#000000',
  },
}
SCSS
$custom: #7e329c;
$custom-light: #a770ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e329c",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 283.019,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4717,
    "c": 0.17249,
    "h": 314.9
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

primary
#7E329C
secondary
#84BB6F
accent
#DB4D75
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E329C

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

Preview Lab → · Contrast checker → · Palette generator →

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