#9F319F#9F319F

#9F319F is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.192 H 327.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9F319F
RGBrgb(159, 49, 159)
HSLhsl(300, 53%, 41%)
HSVhsv(300, 69%, 62%)
CMYKcmyk(0%, 69.2%, 0%, 37.6%)
CIE-LABlab(41.33, 58.26, -36.82)
CIE-LCHlch(41.33, 68.92, 327.71°)
OKLaboklab(51.93% 0.1625 -0.1019)
OKLCHoklch(51.93% 0.192 327.9)
XYZxyz(21.6541, 12.0723, 33.9838)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F319F #319F31
analogous
#68319F #9F319F #9F3168
triadic
#9F319F #9F9F31 #319F9F
tetradic
#9F319F #9F6831 #319F31 #31689F
square
#9F319F #9F6831 #319F31 #31689F
split-complementary
#9F319F #689F31 #319F68
monochromatic
#411441 #702370 #9F319F #C647C6 #D576D5

Accessibility & contrast

On white

6.15
#9F319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9F319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F319F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F319F#FFFFFF#000000##FFFFFF
##9F319F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#A44164
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f319f;
/* rgb */ color: rgb(159, 49, 159);
/* oklch */ color: oklch(51.9% 0.192 327.9);
Tailwind
colors: {
  custom: {
    50: '#bf73bc',
    500: '#9f319f',
    950: '#000000',
  },
}
SCSS
$custom: #9f319f;
$custom-light: #bf73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f319f",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.19176,
    "h": 327.9
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#9F319F
secondary
#6FBD6F
accent
#DC4C4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F319F

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

Preview Lab → · Contrast checker → · Palette generator →

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