#7D399F#7D399F

#7D399F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.1% C 0.165 H 312.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7D399F
RGBrgb(125, 57, 159)
HSLhsl(280, 47%, 42%)
HSVhsv(280, 64%, 62%)
CMYKcmyk(21.4%, 64.2%, 0%, 37.6%)
CIE-LABlab(37.46, 46.65, -43.28)
CIE-LCHlch(37.46, 63.64, 317.14°)
OKLaboklab(48.11% 0.1118 -0.1218)
OKLCHoklch(48.11% 0.165 312.6)
XYZxyz(16.1775, 9.7899, 33.8316)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D399F #5B9F39
analogous
#4A399F #7D399F #9F398E
triadic
#7D399F #9F7D39 #399F7D
tetradic
#7D399F #9F4A39 #5B9F39 #398E9F
square
#7D399F #9F4A39 #5B9F39 #398E9F
split-complementary
#7D399F #8E9F39 #399F4A
monochromatic
#361945 #5A2972 #7D399F #9D54C2 #B781D2

Accessibility & contrast

On white

7.10
#7D399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7D399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D399F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D399F#FFFFFF#000000##FFFFFF
##7D399F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B55A2
Deuteranopia (green-blind)
#325A9D
Tritanopia (blue-blind)
#794C67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d399f;
/* rgb */ color: rgb(125, 57, 159);
/* oklch */ color: oklch(48.1% 0.165 312.6);
Tailwind
colors: {
  custom: {
    50: '#a674bc',
    500: '#7d399f',
    950: '#000000',
  },
}
SCSS
$custom: #7d399f;
$custom-light: #a674bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d399f",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 280,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48105,
    "c": 0.16534,
    "h": 312.6
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#7D399F
secondary
#8FBB78
accent
#D7517E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D399F

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

Preview Lab → · Contrast checker → · Palette generator →

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