#9F309D#9F309D

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

Color values

HEX#9F309D
RGBrgb(159, 48, 157)
HSLhsl(301, 54%, 41%)
HSVhsv(301, 70%, 62%)
CMYKcmyk(0%, 69.8%, 1.3%, 37.6%)
CIE-LABlab(41.09, 58.29, -36.00)
CIE-LCHlch(41.09, 68.51, 328.30°)
OKLaboklab(51.72% 0.1635 -0.0995)
OKLCHoklch(51.72% 0.191 328.7)
XYZxyz(21.4406, 11.9207, 33.0634)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F309D #309F32
analogous
#69309F #9F309D #9F3065
triadic
#9F309D #9D9F30 #309D9F
tetradic
#9F309D #9F6930 #309F32 #30659F
square
#9F309D #9F6930 #309F32 #30659F
split-complementary
#9F309D #659F30 #309F69
monochromatic
#411440 #70226F #9F309D #C745C5 #D574D3

Accessibility & contrast

On white

6.21
#9F309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9F309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F309D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F309D#FFFFFF#000000##FFFFFF
##9F309D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2157A0
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#A43F63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f309d;
/* rgb */ color: rgb(159, 48, 157);
/* oklch */ color: oklch(51.7% 0.191 328.7);
Tailwind
colors: {
  custom: {
    50: '#bf73ba',
    500: '#9f309d',
    950: '#000000',
  },
}
SCSS
$custom: #9f309d;
$custom-light: #bf73ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f309d",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 301.081,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.19136,
    "h": 328.7
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#9F309D
secondary
#6EBD6F
accent
#DD4D4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F309D

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

Preview Lab → · Contrast checker → · Palette generator →

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