#9F2AA1#9F2AA1

#9F2AA1 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.201 H 327.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9F2AA1
RGBrgb(159, 42, 161)
HSLhsl(299, 59%, 40%)
HSVhsv(299, 74%, 63%)
CMYKcmyk(1.2%, 73.9%, 0%, 36.9%)
CIE-LABlab(40.58, 61.07, -39.22)
CIE-LCHlch(40.58, 72.58, 327.29°)
OKLaboklab(51.43% 0.1694 -0.1088)
OKLCHoklch(51.43% 0.201 327.3)
XYZxyz(21.5587, 11.6016, 34.8151)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AA1 #2CA12A
analogous
#642AA1 #9F2AA1 #A12A67
triadic
#9F2AA1 #A19F2A #2AA19F
tetradic
#9F2AA1 #A1642A #2CA12A #2A67A1
square
#9F2AA1 #A1642A #2CA12A #2A67A1
split-complementary
#9F2AA1 #67A12A #2AA164
monochromatic
#3F1140 #6F1D70 #9F2AA1 #CA3CCC #D76DD9

Accessibility & contrast

On white

6.33
#9F2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9F2AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AA1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AA1#FFFFFF#000000##FFFFFF
##9F2AA11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D56A4
Deuteranopia (green-blind)
#49659E
Tritanopia (blue-blind)
#A43D63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2aa1;
/* rgb */ color: rgb(159, 42, 161);
/* oklch */ color: oklch(51.4% 0.201 327.3);
Tailwind
colors: {
  custom: {
    50: '#bf70bd',
    500: '#9f2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #9f2aa1;
$custom-light: #bf70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2aa1",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 298.992,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.20136,
    "h": 327.3
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#9F2AA1
secondary
#69C067
accent
#E24649
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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