#9F2CA6#9F2CA6

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

Color values

HEX#9F2CA6
RGBrgb(159, 44, 166)
HSLhsl(297, 58%, 41%)
HSVhsv(297, 73%, 65%)
CMYKcmyk(4.2%, 73.5%, 0%, 34.9%)
CIE-LABlab(41.10, 61.25, -41.38)
CIE-LCHlch(41.10, 73.92, 325.96°)
OKLaboklab(51.89% 0.1674 -0.1151)
OKLCHoklch(51.89% 0.203 325.5)
XYZxyz(22.0812, 11.9269, 37.2081)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CA6 #33A62C
analogous
#622CA6 #9F2CA6 #A62C70
triadic
#9F2CA6 #A69F2C #2CA69F
tetradic
#9F2CA6 #A6622C #33A62C #2C70A6
square
#9F2CA6 #A6622C #33A62C #2C70A6
split-complementary
#9F2CA6 #70A62C #2CA662
monochromatic
#421245 #711F76 #9F2CA6 #C542CD #D473DA

Accessibility & contrast

On white

6.20
#9F2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9F2CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CA6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CA6#FFFFFF#000000##FFFFFF
##9F2CA61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0458A9
Deuteranopia (green-blind)
#4666A3
Tritanopia (blue-blind)
#A34167
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ca6;
/* rgb */ color: rgb(159, 44, 166);
/* oklch */ color: oklch(51.9% 0.203 325.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c1',
    500: '#9f2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ca6;
$custom-light: #bf71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ca6",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 296.557,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.20319,
    "h": 325.5
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#9F2CA6
secondary
#71C16D
accent
#E1464F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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