#9F2291#9F2291

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

Color values

HEX#9F2291
RGBrgb(159, 34, 145)
HSLhsl(307, 65%, 38%)
HSVhsv(307, 79%, 62%)
CMYKcmyk(0%, 78.6%, 8.8%, 37.6%)
CIE-LABlab(38.83, 60.96, -32.30)
CIE-LCHlch(38.83, 68.99, 332.09°)
OKLaboklab(49.89% 0.1763 -0.0887)
OKLCHoklch(49.89% 0.197 333.3)
XYZxyz(19.9811, 10.5611, 27.7687)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2291 #229F30
analogous
#6E229F #9F2291 #9F2252
triadic
#9F2291 #919F22 #22919F
tetradic
#9F2291 #9F6E22 #229F30 #22529F
square
#9F2291 #9F6E22 #229F30 #22529F
split-complementary
#9F2291 #529F22 #229F6E
monochromatic
#3A0C35 #6D1763 #9F2291 #D12DBF #DD5FCF

Accessibility & contrast

On white

6.75
#9F2291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F2291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2291
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2291#FFFFFF#000000##FFFFFF
##9F22911.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5094
Deuteranopia (green-blind)
#4E628E
Tritanopia (blue-blind)
#A63059
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2291;
/* rgb */ color: rgb(159, 34, 145);
/* oklch */ color: oklch(49.9% 0.197 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6cb1',
    500: '#9f2291',
    950: '#000000',
  },
}
SCSS
$custom: #9f2291;
$custom-light: #bf6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2291",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 306.72,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49891,
    "c": 0.19737,
    "h": 333.3
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#9F2291
secondary
#5BC167
accent
#E85340
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2291

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

Preview Lab → · Contrast checker → · Palette generator →

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