#9F2CB1#9F2CB1

#9F2CB1 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.212 H 321.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9F2CB1
RGBrgb(159, 44, 177)
HSLhsl(292, 60%, 43%)
HSVhsv(292, 75%, 69%)
CMYKcmyk(10.2%, 75.1%, 0%, 30.6%)
CIE-LABlab(41.76, 63.20, -46.86)
CIE-LCHlch(41.76, 78.68, 323.44°)
OKLaboklab(52.58% 0.1668 -0.1311)
OKLCHoklch(52.58% 0.212 321.8)
XYZxyz(23.1337, 12.3479, 42.7513)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CB1 #3EB12C
analogous
#5C2CB1 #9F2CB1 #B12C80
triadic
#9F2CB1 #B19F2C #2CB19F
tetradic
#9F2CB1 #B15C2C #3EB12C #2C80B1
square
#9F2CB1 #B15C2C #3EB12C #2C80B1
split-complementary
#9F2CB1 #80B12C #2CB15C
monochromatic
#47144F #732080 #9F2CB1 #BF49D2 #D07ADE

Accessibility & contrast

On white

6.05
#9F2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9F2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CB1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CB1#FFFFFF#000000##FFFFFF
##9F2CB11.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3E67AE
Tritanopia (blue-blind)
#A1466D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2cb1;
/* rgb */ color: rgb(159, 44, 177);
/* oklch */ color: oklch(52.6% 0.212 321.8);
Tailwind
colors: {
  custom: {
    50: '#bf72c9',
    500: '#9f2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cb1;
$custom-light: #bf72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cb1",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 291.88,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52579,
    "c": 0.21218,
    "h": 321.8
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#9F2CB1
secondary
#7EC673
accent
#E3445A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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