#9F319E#9F319E

#9F319E is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.191 H 328.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9F319E
RGBrgb(159, 49, 158)
HSLhsl(301, 53%, 41%)
HSVhsv(301, 69%, 62%)
CMYKcmyk(0%, 69.2%, 0.6%, 37.6%)
CIE-LABlab(41.28, 58.09, -36.30)
CIE-LCHlch(41.28, 68.50, 328.00°)
OKLaboklab(51.87% 0.1624 -0.1004)
OKLCHoklch(51.87% 0.191 328.3)
XYZxyz(21.5677, 12.0377, 33.5287)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F319E #319F32
analogous
#69319F #9F319E #9F3167
triadic
#9F319E #9E9F31 #319E9F
tetradic
#9F319E #9F6931 #319F32 #31679F
square
#9F319E #9F6931 #319F32 #31679F
split-complementary
#9F319E #679F31 #319F69
monochromatic
#411441 #702370 #9F319E #C647C5 #D576D4

Accessibility & contrast

On white

6.16
#9F319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F319E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F319E#FFFFFF#000000##FFFFFF
##9F319E1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#4E669B
Tritanopia (blue-blind)
#A44064
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f319e;
/* rgb */ color: rgb(159, 49, 158);
/* oklch */ color: oklch(51.9% 0.191 328.3);
Tailwind
colors: {
  custom: {
    50: '#bf73bb',
    500: '#9f319e',
    950: '#000000',
  },
}
SCSS
$custom: #9f319e;
$custom-light: #bf73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f319e",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 300.545,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.19095,
    "h": 328.3
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#9F319E
secondary
#6FBD70
accent
#DC4D4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F319E

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

Preview Lab → · Contrast checker → · Palette generator →

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