#9F2DAB#9F2DAB

#9F2DAB is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.206 H 323.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9F2DAB
RGBrgb(159, 45, 171)
HSLhsl(294, 58%, 42%)
HSVhsv(294, 74%, 67%)
CMYKcmyk(7%, 73.7%, 0%, 32.9%)
CIE-LABlab(41.52, 61.79, -43.70)
CIE-LCHlch(41.52, 75.68, 324.73°)
OKLaboklab(52.29% 0.1663 -0.1219)
OKLCHoklch(52.29% 0.206 323.8)
XYZxyz(22.5865, 12.1894, 39.6833)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DAB #39AB2D
analogous
#602DAB #9F2DAB #AB2D78
triadic
#9F2DAB #AB9F2D #2DAB9F
tetradic
#9F2DAB #AB602D #39AB2D #2D78AB
square
#9F2DAB #AB602D #39AB2D #2D78AB
split-complementary
#9F2DAB #78AB2D #2DAB60
monochromatic
#45144A #72207B #9F2DAB #C247CE #D277DB

Accessibility & contrast

On white

6.11
#9F2DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9F2DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DAB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DAB#FFFFFF#000000##FFFFFF
##9F2DAB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4466A8
Tritanopia (blue-blind)
#A2446A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2dab;
/* rgb */ color: rgb(159, 45, 171);
/* oklch */ color: oklch(52.3% 0.206 323.8);
Tailwind
colors: {
  custom: {
    50: '#bf72c4',
    500: '#9f2dab',
    950: '#000000',
  },
}
SCSS
$custom: #9f2dab;
$custom-light: #bf72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2dab",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 294.286,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.20617,
    "h": 323.8
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

primary
#9F2DAB
secondary
#78C371
accent
#E24655
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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