#9F2391#9F2391

#9F2391 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.196 H 333.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9F2391
RGBrgb(159, 35, 145)
HSLhsl(307, 64%, 38%)
HSVhsv(307, 78%, 62%)
CMYKcmyk(0%, 78%, 8.8%, 37.6%)
CIE-LABlab(38.93, 60.67, -32.14)
CIE-LCHlch(38.93, 68.66, 332.09°)
OKLaboklab(49.96% 0.1755 -0.0882)
OKLCHoklch(49.96% 0.196 333.3)
XYZxyz(20.0101, 10.6191, 27.7784)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2391 #239F31
analogous
#6F239F #9F2391 #9F2353
triadic
#9F2391 #919F23 #23919F
tetradic
#9F2391 #9F6F23 #239F31 #23539F
square
#9F2391 #9F6F23 #239F31 #23539F
split-complementary
#9F2391 #539F23 #239F6F
monochromatic
#3B0D36 #6D1863 #9F2391 #D12EBF #DC60CE

Accessibility & contrast

On white

6.72
#9F2391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F2391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2391
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2391#FFFFFF#000000##FFFFFF
##9F23911.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#4F628E
Tritanopia (blue-blind)
#A63159
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2391;
/* rgb */ color: rgb(159, 35, 145);
/* oklch */ color: oklch(50.0% 0.196 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6db1',
    500: '#9f2391',
    950: '#000000',
  },
}
SCSS
$custom: #9f2391;
$custom-light: #bf6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2391",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 306.774,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.19642,
    "h": 333.3
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#9F2391
secondary
#5DC168
accent
#E75441
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2391

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

Preview Lab → · Contrast checker → · Palette generator →

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