#7D389B#7D389B

#7D389B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.7% C 0.163 H 314.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7D389B
RGBrgb(125, 56, 155)
HSLhsl(282, 47%, 41%)
HSVhsv(282, 64%, 61%)
CMYKcmyk(19.4%, 63.9%, 0%, 39.2%)
CIE-LABlab(37.03, 46.26, -41.56)
CIE-LCHlch(37.03, 62.19, 318.06°)
OKLaboklab(47.71% 0.1132 -0.1167)
OKLCHoklch(47.71% 0.163 314.1)
XYZxyz(15.7870, 9.5554, 32.0167)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D389B #569B38
analogous
#4C389B #7D389B #9B3888
triadic
#7D389B #9B7D38 #389B7D
tetradic
#7D389B #9B4C38 #569B38 #38889B
square
#7D389B #9B4C38 #569B38 #38889B
split-complementary
#7D389B #889B38 #389B4C
monochromatic
#341841 #59286E #7D389B #9E50C0 #B77DD0

Accessibility & contrast

On white

7.21
#7D389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7D389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D389B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D389B#FFFFFF#000000##FFFFFF
##7D389B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539E
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#7A4A64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d389b;
/* rgb */ color: rgb(125, 56, 155);
/* oklch */ color: oklch(47.7% 0.163 314.1);
Tailwind
colors: {
  custom: {
    50: '#a673b9',
    500: '#7d389b',
    950: '#000000',
  },
}
SCSS
$custom: #7d389b;
$custom-light: #a673b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d389b",
  "rgb": {
    "r": 125,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 281.818,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47713,
    "c": 0.16259,
    "h": 314.1
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#7D389B
secondary
#8AB975
accent
#D7517A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D389B

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

Preview Lab → · Contrast checker → · Palette generator →

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