#7D397C#7D397C

#7D397C is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.0% C 0.129 H 328.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7D397C
RGBrgb(125, 57, 124)
HSLhsl(301, 37%, 36%)
HSVhsv(301, 54%, 49%)
CMYKcmyk(0%, 54.4%, 0.8%, 51%)
CIE-LABlab(35.48, 39.34, -25.00)
CIE-LCHlch(35.48, 46.61, 327.57°)
OKLaboklab(46.02% 0.1098 -0.0686)
OKLCHoklch(46.02% 0.129 328)
XYZxyz(13.5585, 8.7423, 20.0381)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D397C #397D3A
analogous
#5C397D #7D397C #7D395A
triadic
#7D397C #7C7D39 #397C7D
tetradic
#7D397C #7D5C39 #397D3A #395A7D
square
#7D397C #7D5C39 #397D3A #395A7D
split-complementary
#7D397C #5A7D39 #397D5C
monochromatic
#291329 #532652 #7D397C #A74CA6 #BF72BD

Accessibility & contrast

On white

7.64
#7D397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7D397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D397C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D397C#FFFFFF#000000##FFFFFF
##7D397C1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#814055
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d397c;
/* rgb */ color: rgb(125, 57, 124);
/* oklch */ color: oklch(46.0% 0.129 328.0);
Tailwind
colors: {
  custom: {
    50: '#a573a2',
    500: '#7d397c',
    950: '#000000',
  },
}
SCSS
$custom: #7d397c;
$custom-light: #a573a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d397c",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 300.882,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4602,
    "c": 0.12946,
    "h": 328
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#7D397C
secondary
#6AA86B
accent
#CD5C5A
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7D397C

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

Preview Lab → · Contrast checker → · Palette generator →

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