#7D328C#7D328C

#7D328C is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.156 H 320.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7D328C
RGBrgb(125, 50, 140)
HSLhsl(290, 47%, 37%)
HSVhsv(290, 64%, 55%)
CMYKcmyk(10.7%, 64.3%, 0%, 45.1%)
CIE-LABlab(35.07, 45.98, -35.54)
CIE-LCHlch(35.07, 58.11, 322.30°)
OKLaboklab(46% 0.1207 -0.0991)
OKLCHoklch(46% 0.156 320.6)
XYZxyz(14.3311, 8.5353, 25.6985)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D328C #418C32
analogous
#50328C #7D328C #8C326E
triadic
#7D328C #8C7D32 #328C7D
tetradic
#7D328C #8C5032 #418C32 #326E8C
square
#7D328C #8C5032 #418C32 #326E8C
split-complementary
#7D328C #6E8C32 #328C50
monochromatic
#2C1232 #55225F #7D328C #A542B9 #BB6DCB

Accessibility & contrast

On white

7.76
#7D328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7D328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D328C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D328C#FFFFFF#000000##FFFFFF
##7D328C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8F
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#7E415A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d328c;
/* rgb */ color: rgb(125, 50, 140);
/* oklch */ color: oklch(46.0% 0.156 320.6);
Tailwind
colors: {
  custom: {
    50: '#a56fae',
    500: '#7d328c',
    950: '#000000',
  },
}
SCSS
$custom: #7d328c;
$custom-light: #a56fae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d328c",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 290,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.15619,
    "h": 320.6
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#7D328C
secondary
#74B367
accent
#D75167
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D328C

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

Preview Lab → · Contrast checker → · Palette generator →

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