#9F2CBD#9F2CBD

#9F2CBD is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.222 H 318.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9F2CBD
RGBrgb(159, 44, 189)
HSLhsl(288, 62%, 46%)
HSVhsv(288, 77%, 74%)
CMYKcmyk(15.9%, 76.7%, 0%, 25.9%)
CIE-LABlab(42.53, 65.40, -52.69)
CIE-LCHlch(42.53, 83.99, 321.15°)
OKLaboklab(53.37% 0.1656 -0.1482)
OKLCHoklch(53.37% 0.222 318.2)
XYZxyz(24.3828, 12.8476, 49.3297)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CBD #4ABD2C
analogous
#562CBD #9F2CBD #BD2C92
triadic
#9F2CBD #BD9F2C #2CBD9F
tetradic
#9F2CBD #BD562C #4ABD2C #2C92BD
square
#9F2CBD #BD562C #4ABD2C #2C92BD
split-complementary
#9F2CBD #92BD2C #2CBD56
monochromatic
#4B155A #75208B #9F2CBD #BA50D6 #CE82E2

Accessibility & contrast

On white

5.88
#9F2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9F2CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CBD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CBD#FFFFFF#000000##FFFFFF
##9F2CBD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#9E4C74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2cbd;
/* rgb */ color: rgb(159, 44, 189);
/* oklch */ color: oklch(53.4% 0.222 318.2);
Tailwind
colors: {
  custom: {
    50: '#c072d2',
    500: '#9f2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cbd;
$custom-light: #c072d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cbd",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 287.586,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53369,
    "c": 0.22219,
    "h": 318.2
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#9F2CBD
secondary
#8BCB7A
accent
#E54264
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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