#9F2B8D#9F2B8D

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

Color values

HEX#9F2B8D
RGBrgb(159, 43, 141)
HSLhsl(309, 57%, 40%)
HSVhsv(309, 73%, 62%)
CMYKcmyk(0%, 73%, 11.3%, 37.6%)
CIE-LABlab(39.62, 57.50, -28.61)
CIE-LCHlch(39.62, 64.23, 333.55°)
OKLaboklab(50.39% 0.1677 -0.0782)
OKLCHoklch(50.39% 0.185 335)
XYZxyz(19.9699, 11.0235, 26.2701)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B8D #2B9F3D
analogous
#772B9F #9F2B8D #9F2B53
triadic
#9F2B8D #8D9F2B #2B8D9F
tetradic
#9F2B8D #9F772B #2B9F3D #2B539F
square
#9F2B8D #9F772B #2B9F3D #2B539F
split-complementary
#9F2B8D #539F2B #2B9F77
monochromatic
#3F1138 #6F1E62 #9F2B8D #CA3DB4 #D76DC7

Accessibility & contrast

On white

6.55
#9F2B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2B8D
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B8D#FFFFFF#000000##FFFFFF
##9F2B8D1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5290
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#A73459
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2b8d;
/* rgb */ color: rgb(159, 43, 141);
/* oklch */ color: oklch(50.4% 0.185 335.0);
Tailwind
colors: {
  custom: {
    50: '#bf70ae',
    500: '#9f2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b8d;
$custom-light: #bf70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b8d",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 309.31,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.18501,
    "h": 335
  },
  "luminance": 0.11022
}

Semantic roles & 50–950 ramp

primary
#9F2B8D
secondary
#67BE75
accent
#E15F47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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