#7D389D#7D389D

#7D389D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.165 H 313.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7D389D
RGBrgb(125, 56, 157)
HSLhsl(281, 47%, 42%)
HSVhsv(281, 64%, 62%)
CMYKcmyk(20.4%, 64.3%, 0%, 38.4%)
CIE-LABlab(37.16, 46.70, -42.57)
CIE-LCHlch(37.16, 63.19, 317.65°)
OKLaboklab(47.84% 0.1131 -0.1197)
OKLCHoklch(47.84% 0.165 313.4)
XYZxyz(15.9564, 9.6231, 32.9087)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D389D #589D38
analogous
#4B389D #7D389D #9D388B
triadic
#7D389D #9D7D38 #389D7D
tetradic
#7D389D #9D4B38 #589D38 #388B9D
square
#7D389D #9D4B38 #589D38 #388B9D
split-complementary
#7D389D #8B9D38 #389D4B
monochromatic
#351843 #592870 #7D389D #9E51C1 #B77ED1

Accessibility & contrast

On white

7.18
#7D389D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7D389D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D389D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D389D#FFFFFF#000000##FFFFFF
##7D389D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C54A0
Deuteranopia (green-blind)
#33599B
Tritanopia (blue-blind)
#7A4B65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d389d;
/* rgb */ color: rgb(125, 56, 157);
/* oklch */ color: oklch(47.8% 0.165 313.4);
Tailwind
colors: {
  custom: {
    50: '#a673ba',
    500: '#7d389d',
    950: '#000000',
  },
}
SCSS
$custom: #7d389d;
$custom-light: #a673ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d389d",
  "rgb": {
    "r": 125,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 280.99,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.16469,
    "h": 313.4
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#7D389D
secondary
#8CBA76
accent
#D7517B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D389D

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

Preview Lab → · Contrast checker → · Palette generator →

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