#7D319F#7D319F

#7D319F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.176 H 313.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7D319F
RGBrgb(125, 49, 159)
HSLhsl(281, 53%, 41%)
HSVhsv(281, 69%, 62%)
CMYKcmyk(21.4%, 69.2%, 0%, 37.6%)
CIE-LABlab(36.10, 50.43, -45.47)
CIE-LCHlch(36.10, 67.90, 317.96°)
OKLaboklab(47.12% 0.1213 -0.1281)
OKLCHoklch(47.12% 0.176 313.4)
XYZxyz(15.8127, 9.0603, 33.7100)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D319F #539F31
analogous
#46319F #7D319F #9F318A
triadic
#7D319F #9F7D31 #319F7D
tetradic
#7D319F #9F4631 #539F31 #318A9F
square
#7D319F #9F4631 #539F31 #318A9F
split-complementary
#7D319F #8A9F31 #319F46
monochromatic
#331441 #582370 #7D319F #9F47C6 #B776D5

Accessibility & contrast

On white

7.47
#7D319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7D319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D319F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D319F#FFFFFF#000000##FFFFFF
##7D319F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#7A4764
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d319f;
/* rgb */ color: rgb(125, 49, 159);
/* oklch */ color: oklch(47.1% 0.176 313.4);
Tailwind
colors: {
  custom: {
    50: '#a66fbc',
    500: '#7d319f',
    950: '#000000',
  },
}
SCSS
$custom: #7d319f;
$custom-light: #a66fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d319f",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 281.455,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47124,
    "c": 0.17644,
    "h": 313.4
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#7D319F
secondary
#87BD6F
accent
#DC4C78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D319F

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

Preview Lab → · Contrast checker → · Palette generator →

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