#7D397F#7D397F

#7D397F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.2% C 0.132 H 326.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7D397F
RGBrgb(125, 57, 127)
HSLhsl(298, 38%, 36%)
HSVhsv(298, 55%, 50%)
CMYKcmyk(1.6%, 55.1%, 0%, 50.2%)
CIE-LABlab(35.63, 39.92, -26.63)
CIE-LCHlch(35.63, 47.99, 326.30°)
OKLaboklab(46.18% 0.1102 -0.0733)
OKLCHoklch(46.18% 0.132 326.4)
XYZxyz(13.7511, 8.8193, 21.0525)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D397F #3B7F39
analogous
#5A397F #7D397F #7F395E
triadic
#7D397F #7F7D39 #397F7D
tetradic
#7D397F #7F5A39 #3B7F39 #395E7F
square
#7D397F #7F5A39 #3B7F39 #395E7F
split-complementary
#7D397F #5E7F39 #397F5A
monochromatic
#2A132B #532655 #7D397F #A74CA9 #BE72C0

Accessibility & contrast

On white

7.60
#7D397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7D397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D397F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D397F#FFFFFF#000000##FFFFFF
##7D397F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#47577D
Tritanopia (blue-blind)
#804156
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d397f;
/* rgb */ color: rgb(125, 57, 127);
/* oklch */ color: oklch(46.2% 0.132 326.4);
Tailwind
colors: {
  custom: {
    50: '#a573a4',
    500: '#7d397f',
    950: '#000000',
  },
}
SCSS
$custom: #7d397f;
$custom-light: #a573a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d397f",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 298.286,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4618,
    "c": 0.13237,
    "h": 326.4
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#7D397F
secondary
#6CA96B
accent
#CE5A5D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7D397F

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

Preview Lab → · Contrast checker → · Palette generator →

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