#7D397E#7D397E

#7D397E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.1% C 0.131 H 326.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7D397E
RGBrgb(125, 57, 126)
HSLhsl(299, 38%, 36%)
HSVhsv(299, 55%, 49%)
CMYKcmyk(0.8%, 54.8%, 0%, 50.6%)
CIE-LABlab(35.58, 39.73, -26.08)
CIE-LCHlch(35.58, 47.53, 326.71°)
OKLaboklab(46.13% 0.1101 -0.0718)
OKLCHoklch(46.13% 0.131 326.9)
XYZxyz(13.6862, 8.7934, 20.7110)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D397E #3A7E39
analogous
#5A397E #7D397E #7E395C
triadic
#7D397E #7E7D39 #397E7D
tetradic
#7D397E #7E5A39 #3A7E39 #395C7E
square
#7D397E #7E5A39 #3A7E39 #395C7E
split-complementary
#7D397E #5C7E39 #397E5A
monochromatic
#29132A #532654 #7D397E #A74CA8 #BE72BF

Accessibility & contrast

On white

7.61
#7D397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D397E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D397E#FFFFFF#000000##FFFFFF
##7D397E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#804156
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d397e;
/* rgb */ color: rgb(125, 57, 126);
/* oklch */ color: oklch(46.1% 0.131 326.9);
Tailwind
colors: {
  custom: {
    50: '#a573a3',
    500: '#7d397e',
    950: '#000000',
  },
}
SCSS
$custom: #7d397e;
$custom-light: #a573a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d397e",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 299.13,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.1314,
    "h": 326.9
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#7D397E
secondary
#6BA86A
accent
#CE5A5C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7D397E

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

Preview Lab → · Contrast checker → · Palette generator →

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