#9F2CAC#9F2CAC

#9F2CAC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.208 H 323.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9F2CAC
RGBrgb(159, 44, 172)
HSLhsl(294, 59%, 42%)
HSVhsv(294, 74%, 67%)
CMYKcmyk(7.6%, 74.4%, 0%, 32.5%)
CIE-LABlab(41.46, 62.30, -44.38)
CIE-LCHlch(41.46, 76.50, 324.54°)
OKLaboklab(52.26% 0.1672 -0.1239)
OKLCHoklch(52.26% 0.208 323.5)
XYZxyz(22.6445, 12.1522, 40.1746)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CAC #39AC2C
analogous
#5F2CAC #9F2CAC #AC2C79
triadic
#9F2CAC #AC9F2C #2CAC9F
tetradic
#9F2CAC #AC5F2C #39AC2C #2C79AC
square
#9F2CAC #AC5F2C #39AC2C #2C79AC
split-complementary
#9F2CAC #79AC2C #2CAC5F
monochromatic
#45134B #72207B #9F2CAC #C246D0 #D276DC

Accessibility & contrast

On white

6.12
#9F2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9F2CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CAC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CAC#FFFFFF#000000##FFFFFF
##9F2CAC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#A2446A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2cac;
/* rgb */ color: rgb(159, 44, 172);
/* oklch */ color: oklch(52.3% 0.208 323.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c5',
    500: '#9f2cac',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cac;
$custom-light: #bf71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cac",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 293.906,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52263,
    "c": 0.20807,
    "h": 323.5
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#9F2CAC
secondary
#78C470
accent
#E24555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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