#9F2C8F#9F2C8F

#9F2C8F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.185 H 334.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F2C8F
RGBrgb(159, 44, 143)
HSLhsl(308, 57%, 40%)
HSVhsv(308, 72%, 62%)
CMYKcmyk(0%, 72.3%, 10.1%, 37.6%)
CIE-LABlab(39.84, 57.46, -29.48)
CIE-LCHlch(39.84, 64.59, 332.84°)
OKLaboklab(50.59% 0.1668 -0.0807)
OKLCHoklch(50.59% 0.185 334.2)
XYZxyz(20.1569, 11.1572, 27.0732)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C8F #2C9F3C
analogous
#762C9F #9F2C8F #9F2C55
triadic
#9F2C8F #8F9F2C #2C8F9F
tetradic
#9F2C8F #9F762C #2C9F3C #2C559F
square
#9F2C8F #9F762C #2C9F3C #2C559F
split-complementary
#9F2C8F #559F2C #2C9F76
monochromatic
#3F1139 #6F1F64 #9F2C8F #CA3EB6 #D76EC8

Accessibility & contrast

On white

6.50
#9F2C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9F2C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C8F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C8F#FFFFFF#000000##FFFFFF
##9F2C8F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A7365A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2c8f;
/* rgb */ color: rgb(159, 44, 143);
/* oklch */ color: oklch(50.6% 0.185 334.2);
Tailwind
colors: {
  custom: {
    50: '#bf70b0',
    500: '#9f2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c8f;
$custom-light: #bf70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c8f",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 308.348,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.18531,
    "h": 334.2
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#9F2C8F
secondary
#69BE75
accent
#E05D48
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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