#9F2CA9#9F2CA9

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

Color values

HEX#9F2CA9
RGBrgb(159, 44, 169)
HSLhsl(295, 59%, 42%)
HSVhsv(295, 74%, 66%)
CMYKcmyk(5.9%, 74%, 0%, 33.7%)
CIE-LABlab(41.28, 61.78, -42.89)
CIE-LCHlch(41.28, 75.20, 325.23°)
OKLaboklab(52.08% 0.1673 -0.1195)
OKLCHoklch(52.08% 0.206 324.5)
XYZxyz(22.3596, 12.0383, 38.6743)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CA9 #36A92C
analogous
#612CA9 #9F2CA9 #A92C75
triadic
#9F2CA9 #A99F2C #2CA99F
tetradic
#9F2CA9 #A9612C #36A92C #2C75A9
square
#9F2CA9 #A9612C #36A92C #2C75A9
split-complementary
#9F2CA9 #75A92C #2CA961
monochromatic
#441348 #711F78 #9F2CA9 #C344CE #D374DB

Accessibility & contrast

On white

6.16
#9F2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9F2CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CA9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CA9#FFFFFF#000000##FFFFFF
##9F2CA91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#A24268
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ca9;
/* rgb */ color: rgb(159, 44, 169);
/* oklch */ color: oklch(52.1% 0.206 324.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c3',
    500: '#9f2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ca9;
$custom-light: #bf71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ca9",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 295.2,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.20562,
    "h": 324.5
  },
  "luminance": 0.12037
}

Semantic roles & 50–950 ramp

primary
#9F2CA9
secondary
#75C36E
accent
#E24652
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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