#7E327A#7E327A

#7E327A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.1% C 0.140 H 329.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7E327A
RGBrgb(126, 50, 122)
HSLhsl(303, 43%, 35%)
HSVhsv(303, 60%, 49%)
CMYKcmyk(0%, 60.3%, 3.2%, 50.6%)
CIE-LABlab(34.24, 42.76, -25.69)
CIE-LCHlch(34.24, 49.89, 329.01°)
OKLaboklab(45.1% 0.1207 -0.0705)
OKLCHoklch(45.1% 0.14 329.7)
XYZxyz(13.2575, 8.1228, 19.2782)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E327A #327E36
analogous
#5C327E #7E327A #7E3254
triadic
#7E327A #7A7E32 #327A7E
tetradic
#7E327A #7E5C32 #327E36 #32547E
square
#7E327A #7E5C32 #327E36 #32547E
split-complementary
#7E327A #547E32 #327E5C
monochromatic
#260F25 #522150 #7E327A #AA43A4 #C368BE

Accessibility & contrast

On white

8.00
#7E327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7E327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E327A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E327A#FFFFFF#000000##FFFFFF
##7E327A1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#455478
Tritanopia (blue-blind)
#823A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e327a;
/* rgb */ color: rgb(126, 50, 122);
/* oklch */ color: oklch(45.1% 0.140 329.7);
Tailwind
colors: {
  custom: {
    50: '#a66fa0',
    500: '#7e327a',
    950: '#000000',
  },
}
SCSS
$custom: #7e327a;
$custom-light: #a66fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e327a",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 303.158,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.13977,
    "h": 329.7
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#7E327A
secondary
#61AB65
accent
#D35B55
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #7E327A

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

Preview Lab → · Contrast checker → · Palette generator →

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