#7E328F#7E328F

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

Color values

HEX#7E328F
RGBrgb(126, 50, 143)
HSLhsl(289, 48%, 38%)
HSVhsv(289, 65%, 56%)
CMYKcmyk(11.9%, 65%, 0%, 43.9%)
CIE-LABlab(35.40, 46.84, -36.85)
CIE-LCHlch(35.40, 59.60, 321.81°)
OKLaboklab(46.33% 0.122 -0.1029)
OKLCHoklch(46.33% 0.16 319.9)
XYZxyz(14.7021, 8.7007, 26.8862)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E328F #438F32
analogous
#4F328F #7E328F #8F3272
triadic
#7E328F #8F7E32 #328F7E
tetradic
#7E328F #8F4F32 #438F32 #32728F
square
#7E328F #8F4F32 #438F32 #32728F
split-complementary
#7E328F #728F32 #328F4F
monochromatic
#2E1234 #562262 #7E328F #A642BC #BB6FCD

Accessibility & contrast

On white

7.66
#7E328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7E328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E328F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E328F#FFFFFF#000000##FFFFFF
##7E328F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#39568D
Tritanopia (blue-blind)
#7E425C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e328f;
/* rgb */ color: rgb(126, 50, 143);
/* oklch */ color: oklch(46.3% 0.160 319.9);
Tailwind
colors: {
  custom: {
    50: '#a66fb0',
    500: '#7e328f',
    950: '#000000',
  },
}
SCSS
$custom: #7e328f;
$custom-light: #a66fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e328f",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 289.032,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46328,
    "c": 0.15962,
    "h": 319.9
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#7E328F
secondary
#76B468
accent
#D85069
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E328F

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

Preview Lab → · Contrast checker → · Palette generator →

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