#9F2C8E#9F2C8E

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

Color values

HEX#9F2C8E
RGBrgb(159, 44, 142)
HSLhsl(309, 57%, 40%)
HSVhsv(309, 72%, 62%)
CMYKcmyk(0%, 72.3%, 10.7%, 37.6%)
CIE-LABlab(39.79, 57.31, -28.95)
CIE-LCHlch(39.79, 64.21, 333.20°)
OKLaboklab(50.53% 0.1668 -0.0791)
OKLCHoklch(50.53% 0.185 334.6)
XYZxyz(20.0814, 11.1270, 26.6760)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C8E #2C9F3D
analogous
#772C9F #9F2C8E #9F2C54
triadic
#9F2C8E #8E9F2C #2C8E9F
tetradic
#9F2C8E #9F772C #2C9F3D #2C549F
square
#9F2C8E #9F772C #2C9F3D #2C549F
split-complementary
#9F2C8E #549F2C #2C9F77
monochromatic
#3F1138 #6F1F63 #9F2C8E #CA3EB5 #D76EC8

Accessibility & contrast

On white

6.51
#9F2C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2C8E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C8E#FFFFFF#000000##FFFFFF
##9F2C8E1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#53648B
Tritanopia (blue-blind)
#A7355A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2c8e;
/* rgb */ color: rgb(159, 44, 142);
/* oklch */ color: oklch(50.5% 0.185 334.6);
Tailwind
colors: {
  custom: {
    50: '#bf70af',
    500: '#9f2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c8e;
$custom-light: #bf70af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c8e",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 308.87,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.18458,
    "h": 334.6
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#9F2C8E
secondary
#69BE75
accent
#E05E48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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