#7E328E#7E328E

#7E328E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.3% C 0.159 H 320.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7E328E
RGBrgb(126, 50, 142)
HSLhsl(290, 48%, 38%)
HSVhsv(290, 65%, 56%)
CMYKcmyk(11.3%, 64.8%, 0%, 44.3%)
CIE-LABlab(35.34, 46.64, -36.33)
CIE-LCHlch(35.34, 59.12, 322.08°)
OKLaboklab(46.27% 0.122 -0.1014)
OKLCHoklch(46.27% 0.159 320.3)
XYZxyz(14.6267, 8.6705, 26.4891)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E328E #428E32
analogous
#50328E #7E328E #8E3270
triadic
#7E328E #8E7E32 #328E7E
tetradic
#7E328E #8E5032 #428E32 #32708E
square
#7E328E #8E5032 #428E32 #32708E
split-complementary
#7E328E #708E32 #328E50
monochromatic
#2E1233 #562261 #7E328E #A642BB #BC6ECC

Accessibility & contrast

On white

7.68
#7E328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7E328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E328E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E328E#FFFFFF#000000##FFFFFF
##7E328E1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#7F415B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e328e;
/* rgb */ color: rgb(126, 50, 142);
/* oklch */ color: oklch(46.3% 0.159 320.3);
Tailwind
colors: {
  custom: {
    50: '#a66faf',
    500: '#7e328e',
    950: '#000000',
  },
}
SCSS
$custom: #7e328e;
$custom-light: #a66faf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e328e",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 289.565,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46265,
    "c": 0.15864,
    "h": 320.3
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#7E328E
secondary
#75B468
accent
#D85068
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E328E

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

Preview Lab → · Contrast checker → · Palette generator →

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