#7D328B#7D328B

#7D328B is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.9% C 0.155 H 321.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7D328B
RGBrgb(125, 50, 139)
HSLhsl(291, 47%, 37%)
HSVhsv(291, 64%, 55%)
CMYKcmyk(10.1%, 64%, 0%, 45.5%)
CIE-LABlab(35.02, 45.78, -35.02)
CIE-LCHlch(35.02, 57.63, 322.58°)
OKLaboklab(45.94% 0.1207 -0.0976)
OKLCHoklch(45.94% 0.155 321)
XYZxyz(14.2577, 8.5060, 25.3119)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D328B #408B32
analogous
#51328B #7D328B #8B326D
triadic
#7D328B #8B7D32 #328B7D
tetradic
#7D328B #8B5132 #408B32 #326D8B
square
#7D328B #8B5132 #408B32 #326D8B
split-complementary
#7D328B #6D8B32 #328B51
monochromatic
#2C1231 #55225E #7D328B #A542B8 #BC6DCA

Accessibility & contrast

On white

7.77
#7D328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7D328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D328B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D328B#FFFFFF#000000##FFFFFF
##7D328B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8E
Deuteranopia (green-blind)
#3B5589
Tritanopia (blue-blind)
#7E405A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d328b;
/* rgb */ color: rgb(125, 50, 139);
/* oklch */ color: oklch(45.9% 0.155 321.0);
Tailwind
colors: {
  custom: {
    50: '#a56fad',
    500: '#7d328b',
    950: '#000000',
  },
}
SCSS
$custom: #7d328b;
$custom-light: #a56fad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d328b",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 290.562,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45941,
    "c": 0.15522,
    "h": 321
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#7D328B
secondary
#73B267
accent
#D75166
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D328B

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

Preview Lab → · Contrast checker → · Palette generator →

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