#7D3289#7D3289

#7D3289 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.153 H 321.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7D3289
RGBrgb(125, 50, 137)
HSLhsl(292, 47%, 37%)
HSVhsv(292, 64%, 54%)
CMYKcmyk(8.8%, 63.5%, 0%, 46.3%)
CIE-LABlab(34.90, 45.37, -33.97)
CIE-LCHlch(34.90, 56.68, 323.18°)
OKLaboklab(45.82% 0.1207 -0.0945)
OKLCHoklch(45.82% 0.153 321.9)
XYZxyz(14.1129, 8.4480, 24.5493)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3289 #3E8932
analogous
#523289 #7D3289 #89326A
triadic
#7D3289 #897D32 #32897D
tetradic
#7D3289 #895232 #3E8932 #326A89
square
#7D3289 #895232 #3E8932 #326A89
split-complementary
#7D3289 #6A8932 #328952
monochromatic
#2B112F #54225C #7D3289 #A642B6 #BC6CC9

Accessibility & contrast

On white

7.81
#7D3289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7D3289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3289
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3289#FFFFFF#000000##FFFFFF
##7D32891.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#3C5587
Tritanopia (blue-blind)
#7E4059
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d3289;
/* rgb */ color: rgb(125, 50, 137);
/* oklch */ color: oklch(45.8% 0.153 321.9);
Tailwind
colors: {
  custom: {
    50: '#a56fac',
    500: '#7d3289',
    950: '#000000',
  },
}
SCSS
$custom: #7d3289;
$custom-light: #a56fac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3289",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 291.724,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.15327,
    "h": 321.9
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#7D3289
secondary
#70B166
accent
#D65264
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D3289

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

Preview Lab → · Contrast checker → · Palette generator →

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