#9F2CAA#9F2CAA

#9F2CAA is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.206 H 324.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9F2CAA
RGBrgb(159, 44, 170)
HSLhsl(295, 59%, 42%)
HSVhsv(295, 74%, 67%)
CMYKcmyk(6.5%, 74.1%, 0%, 33.3%)
CIE-LABlab(41.34, 61.95, -43.39)
CIE-LCHlch(41.34, 75.63, 325.00°)
OKLaboklab(52.14% 0.1673 -0.121)
OKLCHoklch(52.14% 0.206 324.1)
XYZxyz(22.4538, 12.0760, 39.1706)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CAA #37AA2C
analogous
#602CAA #9F2CAA #AA2C76
triadic
#9F2CAA #AA9F2C #2CAA9F
tetradic
#9F2CAA #AA602C #37AA2C #2C76AA
square
#9F2CAA #AA602C #37AA2C #2C76AA
split-complementary
#9F2CAA #76AA2C #2CAA60
monochromatic
#441349 #721F79 #9F2CAA #C344CF #D275DB

Accessibility & contrast

On white

6.15
#9F2CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9F2CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CAA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CAA#FFFFFF#000000##FFFFFF
##9F2CAA1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#A24369
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2caa;
/* rgb */ color: rgb(159, 44, 170);
/* oklch */ color: oklch(52.1% 0.206 324.1);
Tailwind
colors: {
  custom: {
    50: '#bf71c4',
    500: '#9f2caa',
    950: '#000000',
  },
}
SCSS
$custom: #9f2caa;
$custom-light: #bf71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2caa",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 294.762,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.20644,
    "h": 324.1
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#9F2CAA
secondary
#76C36F
accent
#E24653
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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