#7D3591#7D3591

#7D3591 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.7% C 0.157 H 318.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7D3591
RGBrgb(125, 53, 145)
HSLhsl(287, 46%, 39%)
HSVhsv(287, 63%, 57%)
CMYKcmyk(13.8%, 63.4%, 0%, 43.1%)
CIE-LABlab(35.89, 45.58, -37.31)
CIE-LCHlch(35.89, 58.90, 320.70°)
OKLaboklab(46.69% 0.117 -0.1043)
OKLCHoklch(46.69% 0.157 318.3)
XYZxyz(14.8407, 8.9511, 27.7286)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3591 #499135
analogous
#4F3591 #7D3591 #913577
triadic
#7D3591 #917D35 #35917D
tetradic
#7D3591 #914F35 #499135 #357791
square
#7D3591 #914F35 #499135 #357791
split-complementary
#7D3591 #779135 #35914F
monochromatic
#301437 #562564 #7D3591 #A347BC #B974CC

Accessibility & contrast

On white

7.53
#7D3591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7D3591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3591
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3591#FFFFFF#000000##FFFFFF
##7D35911.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#39578F
Tritanopia (blue-blind)
#7D455E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d3591;
/* rgb */ color: rgb(125, 53, 145);
/* oklch */ color: oklch(46.7% 0.157 318.3);
Tailwind
colors: {
  custom: {
    50: '#a571b2',
    500: '#7d3591',
    950: '#000000',
  },
}
SCSS
$custom: #7d3591;
$custom-light: #a571b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3591",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 286.957,
    "s": 46.465,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.15672,
    "h": 318.3
  },
  "luminance": 0.08951
}

Semantic roles & 50–950 ramp

primary
#7D3591
secondary
#7DB56D
accent
#D6526E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3591

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

Preview Lab → · Contrast checker → · Palette generator →

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