#9F2191#9F2191

#9F2191 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.198 H 333.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9F2191
RGBrgb(159, 33, 145)
HSLhsl(307, 66%, 38%)
HSVhsv(307, 79%, 62%)
CMYKcmyk(0%, 79.2%, 8.8%, 37.6%)
CIE-LABlab(38.73, 61.24, -32.45)
CIE-LCHlch(38.73, 69.31, 332.08°)
OKLaboklab(49.82% 0.1772 -0.0891)
OKLCHoklch(49.82% 0.198 333.3)
XYZxyz(19.9529, 10.5047, 27.7593)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2191 #219F2F
analogous
#6E219F #9F2191 #9F2152
triadic
#9F2191 #919F21 #21919F
tetradic
#9F2191 #9F6E21 #219F2F #21529F
square
#9F2191 #9F6E21 #219F2F #21529F
split-complementary
#9F2191 #529F21 #219F6E
monochromatic
#3A0C35 #6C1663 #9F2191 #D22CBF #DD5DCF

Accessibility & contrast

On white

6.77
#9F2191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F2191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2191
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2191#FFFFFF#000000##FFFFFF
##9F21911.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#4E618E
Tritanopia (blue-blind)
#A62F58
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2191;
/* rgb */ color: rgb(159, 33, 145);
/* oklch */ color: oklch(49.8% 0.198 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6cb1',
    500: '#9f2191',
    950: '#000000',
  },
}
SCSS
$custom: #9f2191;
$custom-light: #bf6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2191",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 306.667,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.19831,
    "h": 333.3
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#9F2191
secondary
#5AC265
accent
#E9523F
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130811
muted
#827A80

Preview Lab

Preview with #9F2191

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

Preview Lab → · Contrast checker → · Palette generator →

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