#9F2B93#9F2B93

#9F2B93 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.189 H 332.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9F2B93
RGBrgb(159, 43, 147)
HSLhsl(306, 57%, 40%)
HSVhsv(306, 73%, 62%)
CMYKcmyk(0%, 73%, 7.5%, 37.6%)
CIE-LABlab(39.93, 58.44, -31.79)
CIE-LCHlch(39.93, 66.53, 331.46°)
OKLaboklab(50.71% 0.1681 -0.0873)
OKLCHoklch(50.71% 0.189 332.6)
XYZxyz(20.4285, 11.2069, 28.6853)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B93 #2B9F37
analogous
#712B9F #9F2B93 #9F2B59
triadic
#9F2B93 #939F2B #2B939F
tetradic
#9F2B93 #9F712B #2B9F37 #2B599F
square
#9F2B93 #9F712B #2B9F37 #2B599F
split-complementary
#9F2B93 #599F2B #2B9F71
monochromatic
#3F113A #6F1E66 #9F2B93 #CA3DBC #D76DCC

Accessibility & contrast

On white

6.48
#9F2B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9F2B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B93
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B93#FFFFFF#000000##FFFFFF
##9F2B931.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255496
Deuteranopia (green-blind)
#516490
Tritanopia (blue-blind)
#A6375C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2b93;
/* rgb */ color: rgb(159, 43, 147);
/* oklch */ color: oklch(50.7% 0.189 332.6);
Tailwind
colors: {
  custom: {
    50: '#bf70b3',
    500: '#9f2b93',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b93;
$custom-light: #bf70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b93",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 306.207,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.18945,
    "h": 332.6
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#9F2B93
secondary
#67BE70
accent
#E15747
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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