#7D3988#7D3988

#7D3988 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 46.7% C 0.141 H 321.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7D3988
RGBrgb(125, 57, 136)
HSLhsl(292, 41%, 38%)
HSVhsv(292, 58%, 53%)
CMYKcmyk(8.1%, 58.1%, 0%, 46.7%)
CIE-LABlab(36.11, 41.72, -31.44)
CIE-LCHlch(36.11, 52.24, 323.00°)
OKLaboklab(46.68% 0.1112 -0.0872)
OKLCHoklch(46.68% 0.141 321.9)
XYZxyz(14.3640, 9.0645, 24.2808)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3988 #448839
analogous
#563988 #7D3988 #88396B
triadic
#7D3988 #887D39 #39887D
tetradic
#7D3988 #885639 #448839 #396B88
square
#7D3988 #885639 #448839 #396B88
split-complementary
#7D3988 #6B8839 #398856
monochromatic
#2E1532 #55275D #7D3988 #A54BB3 #BA76C6

Accessibility & contrast

On white

7.47
#7D3988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7D3988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3988
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3988#FFFFFF#000000##FFFFFF
##7D39881.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508B
Deuteranopia (green-blind)
#425886
Tritanopia (blue-blind)
#7E445B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d3988;
/* rgb */ color: rgb(125, 57, 136);
/* oklch */ color: oklch(46.7% 0.141 321.9);
Tailwind
colors: {
  custom: {
    50: '#a573ab',
    500: '#7d3988',
    950: '#000000',
  },
}
SCSS
$custom: #7d3988;
$custom-light: #a573ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3988",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 291.646,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.14135,
    "h": 321.9
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#7D3988
secondary
#77AF6E
accent
#D15768
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7D3988

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

Preview Lab → · Contrast checker → · Palette generator →

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