#9F2B99#9F2B99

#9F2B99 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 330.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9F2B99
RGBrgb(159, 43, 153)
HSLhsl(303, 57%, 40%)
HSVhsv(303, 73%, 62%)
CMYKcmyk(0%, 73%, 3.8%, 37.6%)
CIE-LABlab(40.25, 59.40, -34.92)
CIE-LCHlch(40.25, 68.91, 329.55°)
OKLaboklab(51.04% 0.1684 -0.0963)
OKLCHoklch(51.04% 0.194 330.2)
XYZxyz(20.9116, 11.4002, 31.2299)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B99 #2B9F31
analogous
#6B2B9F #9F2B99 #9F2B5F
triadic
#9F2B99 #999F2B #2B999F
tetradic
#9F2B99 #9F6B2B #2B9F31 #2B5F9F
square
#9F2B99 #9F6B2B #2B9F31 #2B5F9F
split-complementary
#9F2B99 #5F9F2B #2B9F6B
monochromatic
#3F113C #6F1E6B #9F2B99 #CA3DC3 #D76DD2

Accessibility & contrast

On white

6.40
#9F2B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9F2B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B99
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B99#FFFFFF#000000##FFFFFF
##9F2B991.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#4E6496
Tritanopia (blue-blind)
#A53A5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2b99;
/* rgb */ color: rgb(159, 43, 153);
/* oklch */ color: oklch(51.0% 0.194 330.2);
Tailwind
colors: {
  custom: {
    50: '#bf70b7',
    500: '#9f2b99',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b99;
$custom-light: #bf70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b99",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 303.103,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51045,
    "c": 0.19402,
    "h": 330.2
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#9F2B99
secondary
#67BE6C
accent
#E14F47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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