#9F2AA9#9F2AA9

#9F2AA9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.208 H 324.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9F2AA9
RGBrgb(159, 42, 169)
HSLhsl(295, 60%, 41%)
HSVhsv(295, 75%, 66%)
CMYKcmyk(5.9%, 75.1%, 0%, 33.7%)
CIE-LABlab(41.05, 62.44, -43.26)
CIE-LCHlch(41.05, 75.96, 325.29°)
OKLaboklab(51.91% 0.1692 -0.1206)
OKLCHoklch(51.91% 0.208 324.5)
XYZxyz(22.2869, 11.8929, 38.6501)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AA9 #34A92A
analogous
#602AA9 #9F2AA9 #A92A74
triadic
#9F2AA9 #A99F2A #2AA99F
tetradic
#9F2AA9 #A9602A #34A92A #2A74A9
square
#9F2AA9 #A9602A #34A92A #2A74A9
split-complementary
#9F2AA9 #74A92A #2AA960
monochromatic
#431247 #711E78 #9F2AA9 #C441D0 #D372DC

Accessibility & contrast

On white

6.22
#9F2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9F2AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AA9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AA9#FFFFFF#000000##FFFFFF
##9F2AA91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#A24168
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2aa9;
/* rgb */ color: rgb(159, 42, 169);
/* oklch */ color: oklch(51.9% 0.208 324.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c3',
    500: '#9f2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #9f2aa9;
$custom-light: #bf71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2aa9",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 295.276,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.20773,
    "h": 324.5
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#9F2AA9
secondary
#73C36C
accent
#E34451
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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