#9F2991#9F2991

#9F2991 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.190 H 333.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9F2991
RGBrgb(159, 41, 145)
HSLhsl(307, 59%, 39%)
HSVhsv(307, 74%, 62%)
CMYKcmyk(0%, 74.2%, 8.8%, 37.6%)
CIE-LABlab(39.59, 58.80, -31.11)
CIE-LCHlch(39.59, 66.52, 332.12°)
OKLaboklab(50.43% 0.17 -0.0853)
OKLCHoklch(50.43% 0.19 333.4)
XYZxyz(20.2020, 11.0029, 27.8424)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2991 #299F37
analogous
#72299F #9F2991 #9F2956
triadic
#9F2991 #919F29 #29919F
tetradic
#9F2991 #9F7229 #299F37 #29569F
square
#9F2991 #9F7229 #299F37 #29569F
split-complementary
#9F2991 #569F29 #299F72
monochromatic
#3E1038 #6E1C65 #9F2991 #CC39BB #D96ACB

Accessibility & contrast

On white

6.56
#9F2991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F2991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2991
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2991#FFFFFF#000000##FFFFFF
##9F29911.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255294
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#A6355A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2991;
/* rgb */ color: rgb(159, 41, 145);
/* oklch */ color: oklch(50.4% 0.190 333.4);
Tailwind
colors: {
  custom: {
    50: '#bf6fb1',
    500: '#9f2991',
    950: '#000000',
  },
}
SCSS
$custom: #9f2991;
$custom-light: #bf6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2991",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 307.119,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.1902,
    "h": 333.4
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#9F2991
secondary
#65BF70
accent
#E25846
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2991

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

Preview Lab → · Contrast checker → · Palette generator →

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