#7D389F#7D389F

#7D389F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.0% C 0.167 H 312.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7D389F
RGBrgb(125, 56, 159)
HSLhsl(280, 48%, 42%)
HSVhsv(280, 65%, 62%)
CMYKcmyk(21.4%, 64.8%, 0%, 37.6%)
CIE-LABlab(37.28, 47.14, -43.57)
CIE-LCHlch(37.28, 64.19, 317.25°)
OKLaboklab(47.98% 0.1131 -0.1226)
OKLCHoklch(47.98% 0.167 312.7)
XYZxyz(16.1285, 9.6920, 33.8153)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D389F #5A9F38
analogous
#49389F #7D389F #9F388E
triadic
#7D389F #9F7D38 #389F7D
tetradic
#7D389F #9F4938 #5A9F38 #388E9F
square
#7D389F #9F4938 #5A9F38 #388E9F
split-complementary
#7D389F #8E9F38 #389F49
monochromatic
#361844 #592872 #7D389F #9D52C2 #B77FD2

Accessibility & contrast

On white

7.15
#7D389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7D389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D389F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D389F#FFFFFF#000000##FFFFFF
##7D389F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0654A2
Deuteranopia (green-blind)
#31599D
Tritanopia (blue-blind)
#794C66
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d389f;
/* rgb */ color: rgb(125, 56, 159);
/* oklch */ color: oklch(48.0% 0.167 312.7);
Tailwind
colors: {
  custom: {
    50: '#a673bc',
    500: '#7d389f',
    950: '#000000',
  },
}
SCSS
$custom: #7d389f;
$custom-light: #a673bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d389f",
  "rgb": {
    "r": 125,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 280.194,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.16679,
    "h": 312.7
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#7D389F
secondary
#8EBB77
accent
#D7507D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D389F

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

Preview Lab → · Contrast checker → · Palette generator →

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