#7D328E#7D328E

#7D328E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.158 H 319.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7D328E
RGBrgb(125, 50, 142)
HSLhsl(289, 48%, 38%)
HSVhsv(289, 65%, 56%)
CMYKcmyk(12%, 64.8%, 0%, 44.3%)
CIE-LABlab(35.19, 46.39, -36.58)
CIE-LCHlch(35.19, 59.07, 321.74°)
OKLaboklab(46.13% 0.1208 -0.1021)
OKLCHoklch(46.13% 0.158 319.8)
XYZxyz(14.4799, 8.5948, 26.4822)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D328E #438E32
analogous
#4F328E #7D328E #8E3271
triadic
#7D328E #8E7D32 #328E7D
tetradic
#7D328E #8E4F32 #438E32 #32718E
square
#7D328E #8E4F32 #438E32 #32718E
split-complementary
#7D328E #718E32 #328E4F
monochromatic
#2D1233 #552261 #7D328E #A542BB #BB6ECC

Accessibility & contrast

On white

7.72
#7D328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D328E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D328E#FFFFFF#000000##FFFFFF
##7D328E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E91
Deuteranopia (green-blind)
#39558C
Tritanopia (blue-blind)
#7D415B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d328e;
/* rgb */ color: rgb(125, 50, 142);
/* oklch */ color: oklch(46.1% 0.158 319.8);
Tailwind
colors: {
  custom: {
    50: '#a56faf',
    500: '#7d328e',
    950: '#000000',
  },
}
SCSS
$custom: #7d328e;
$custom-light: #a56faf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d328e",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 288.913,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.15816,
    "h": 319.8
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#7D328E
secondary
#76B468
accent
#D85069
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D328E

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

Preview Lab → · Contrast checker → · Palette generator →

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