#9D319F#9D319F

#9D319F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.191 H 327.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9D319F
RGBrgb(157, 49, 159)
HSLhsl(299, 53%, 41%)
HSVhsv(299, 69%, 62%)
CMYKcmyk(1.3%, 69.2%, 0%, 37.6%)
CIE-LABlab(41.01, 57.79, -37.35)
CIE-LCHlch(41.01, 68.81, 327.13°)
OKLaboklab(51.64% 0.1602 -0.1035)
OKLCHoklch(51.64% 0.191 327.1)
XYZxyz(21.2606, 11.8694, 33.9654)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D319F #339F31
analogous
#66319F #9D319F #9F316A
triadic
#9D319F #9F9D31 #319F9D
tetradic
#9D319F #9F6631 #339F31 #316A9F
square
#9D319F #9F6631 #339F31 #316A9F
split-complementary
#9D319F #6A9F31 #319F66
monochromatic
#411441 #6F2370 #9D319F #C447C6 #D376D5

Accessibility & contrast

On white

6.22
#9D319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9D319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D319F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D319F#FFFFFF#000000##FFFFFF
##9D319F1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#4B669C
Tritanopia (blue-blind)
#A24164
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d319f;
/* rgb */ color: rgb(157, 49, 159);
/* oklch */ color: oklch(51.6% 0.191 327.1);
Tailwind
colors: {
  custom: {
    50: '#bd73bc',
    500: '#9d319f',
    950: '#000000',
  },
}
SCSS
$custom: #9d319f;
$custom-light: #bd73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d319f",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 298.909,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.19074,
    "h": 327.1
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#9D319F
secondary
#70BD6F
accent
#DC4C4E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D319F

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

Preview Lab → · Contrast checker → · Palette generator →

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