#7D379D#7D379D

#7D379D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.166 H 313.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7D379D
RGBrgb(125, 55, 157)
HSLhsl(281, 48%, 42%)
HSVhsv(281, 65%, 62%)
CMYKcmyk(20.4%, 65%, 0%, 38.4%)
CIE-LABlab(36.98, 47.19, -42.85)
CIE-LCHlch(36.98, 63.74, 317.76°)
OKLaboklab(47.72% 0.1144 -0.1205)
OKLCHoklch(47.72% 0.166 313.5)
XYZxyz(15.9084, 9.5271, 32.8927)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D379D #579D37
analogous
#4A379D #7D379D #9D378A
triadic
#7D379D #9D7D37 #379D7D
tetradic
#7D379D #9D4A37 #579D37 #378A9D
square
#7D379D #9D4A37 #579D37 #378A9D
split-complementary
#7D379D #8A9D37 #379D4A
monochromatic
#351742 #592770 #7D379D #9E50C2 #B77DD1

Accessibility & contrast

On white

7.23
#7D379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D379D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D379D#FFFFFF#000000##FFFFFF
##7D379D1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0853A0
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#7A4A65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d379d;
/* rgb */ color: rgb(125, 55, 157);
/* oklch */ color: oklch(47.7% 0.166 313.5);
Tailwind
colors: {
  custom: {
    50: '#a673ba',
    500: '#7d379d',
    950: '#000000',
  },
}
SCSS
$custom: #7d379d;
$custom-light: #a673ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d379d",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 281.176,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47715,
    "c": 0.16613,
    "h": 313.5
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#7D379D
secondary
#8BBB75
accent
#D8507B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D379D

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

Preview Lab → · Contrast checker → · Palette generator →

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