#9F2ABD#9F2ABD

#9F2ABD is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.224 H 318.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9F2ABD
RGBrgb(159, 42, 189)
HSLhsl(288, 64%, 45%)
HSVhsv(288, 78%, 74%)
CMYKcmyk(15.9%, 77.8%, 0%, 25.9%)
CIE-LABlab(42.31, 66.04, -53.05)
CIE-LCHlch(42.31, 84.71, 321.23°)
OKLaboklab(53.21% 0.1672 -0.1492)
OKLCHoklch(53.21% 0.224 318.3)
XYZxyz(24.3101, 12.7021, 49.3055)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2ABD #48BD2A
analogous
#552ABD #9F2ABD #BD2A91
triadic
#9F2ABD #BD9F2A #2ABD9F
tetradic
#9F2ABD #BD552A #48BD2A #2A91BD
square
#9F2ABD #BD552A #48BD2A #2A91BD
split-complementary
#9F2ABD #91BD2A #2ABD55
monochromatic
#4B1459 #751F8B #9F2ABD #BB4DD7 #CE7FE3

Accessibility & contrast

On white

5.93
#9F2ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9F2ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2ABD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2ABD#FFFFFF#000000##FFFFFF
##9F2ABD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2abd;
/* rgb */ color: rgb(159, 42, 189);
/* oklch */ color: oklch(53.2% 0.224 318.3);
Tailwind
colors: {
  custom: {
    50: '#c071d2',
    500: '#9f2abd',
    950: '#000000',
  },
}
SCSS
$custom: #9f2abd;
$custom-light: #c071d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2abd",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 287.755,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.22412,
    "h": 318.3
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

primary
#9F2ABD
secondary
#89CB78
accent
#E74163
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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