#9F2C8D#9F2C8D

#9F2C8D is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.184 H 335.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9F2C8D
RGBrgb(159, 44, 141)
HSLhsl(309, 57%, 40%)
HSVhsv(309, 72%, 62%)
CMYKcmyk(0%, 72.3%, 11.3%, 37.6%)
CIE-LABlab(39.74, 57.15, -28.42)
CIE-LCHlch(39.74, 63.83, 333.56°)
OKLaboklab(50.48% 0.1667 -0.0776)
OKLCHoklch(50.48% 0.184 335)
XYZxyz(20.0067, 11.0971, 26.2824)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C8D #2C9F3E
analogous
#772C9F #9F2C8D #9F2C54
triadic
#9F2C8D #8D9F2C #2C8D9F
tetradic
#9F2C8D #9F772C #2C9F3E #2C549F
square
#9F2C8D #9F772C #2C9F3E #2C549F
split-complementary
#9F2C8D #549F2C #2C9F77
monochromatic
#3F1138 #6F1F62 #9F2C8D #CA3EB4 #D76EC7

Accessibility & contrast

On white

6.52
#9F2C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9F2C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C8D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C8D#FFFFFF#000000##FFFFFF
##9F2C8D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#A73559
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2c8d;
/* rgb */ color: rgb(159, 44, 141);
/* oklch */ color: oklch(50.5% 0.184 335.0);
Tailwind
colors: {
  custom: {
    50: '#bf70ae',
    500: '#9f2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c8d;
$custom-light: #bf70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c8d",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 309.391,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.18384,
    "h": 335
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#9F2C8D
secondary
#69BE76
accent
#E06048
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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