#7E329D#7E329D

#7E329D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.173 H 314.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7E329D
RGBrgb(126, 50, 157)
HSLhsl(283, 52%, 41%)
HSVhsv(283, 68%, 62%)
CMYKcmyk(19.7%, 68.2%, 0%, 38.4%)
CIE-LABlab(36.27, 49.77, -43.98)
CIE-LCHlch(36.27, 66.42, 318.54°)
OKLaboklab(47.24% 0.1216 -0.1237)
OKLCHoklch(47.24% 0.173 314.5)
XYZxyz(15.8296, 9.1517, 32.8243)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E329D #519D32
analogous
#48329D #7E329D #9D3286
triadic
#7E329D #9D7E32 #329D7E
tetradic
#7E329D #9D4832 #519D32 #32869D
square
#7E329D #9D4832 #519D32 #32869D
split-complementary
#7E329D #869D32 #329D48
monochromatic
#331440 #59236F #7E329D #A048C5 #B876D3

Accessibility & contrast

On white

7.42
#7E329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7E329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E329D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E329D#FFFFFF#000000##FFFFFF
##7E329D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#2E579B
Tritanopia (blue-blind)
#7B4763
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e329d;
/* rgb */ color: rgb(126, 50, 157);
/* oklch */ color: oklch(47.2% 0.173 314.5);
Tailwind
colors: {
  custom: {
    50: '#a770ba',
    500: '#7e329d',
    950: '#000000',
  },
}
SCSS
$custom: #7e329d;
$custom-light: #a770ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e329d",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 282.617,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47237,
    "c": 0.17349,
    "h": 314.5
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#7E329D
secondary
#85BC6F
accent
#DB4D76
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E329D

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

Preview Lab → · Contrast checker → · Palette generator →

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