#9F2DC1#9F2DC1

#9F2DC1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.225 H 317.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9F2DC1
RGBrgb(159, 45, 193)
HSLhsl(286, 62%, 47%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(17.6%, 76.7%, 0%, 24.3%)
CIE-LABlab(42.91, 65.83, -54.42)
CIE-LCHlch(42.91, 85.41, 320.42°)
OKLaboklab(53.72% 0.1642 -0.1533)
OKLCHoklch(53.72% 0.225 317)
XYZxyz(24.8607, 13.0990, 51.6606)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DC1 #4FC12D
analogous
#552DC1 #9F2DC1 #C12D99
triadic
#9F2DC1 #C19F2D #2DC19F
tetradic
#9F2DC1 #C1552D #4FC12D #2D99C1
square
#9F2DC1 #C1552D #4FC12D #2D99C1
split-complementary
#9F2DC1 #99C12D #2DC155
monochromatic
#4D165E #76218F #9F2DC1 #B954D7 #CD86E3

Accessibility & contrast

On white

5.80
#9F2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F2DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DC1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DC1#FFFFFF#000000##FFFFFF
##9F2DC11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#2F69BE
Tritanopia (blue-blind)
#9D4E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2dc1;
/* rgb */ color: rgb(159, 45, 193);
/* oklch */ color: oklch(53.7% 0.225 317.0);
Tailwind
colors: {
  custom: {
    50: '#c073d4',
    500: '#9f2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #9f2dc1;
$custom-light: #c073d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2dc1",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 286.216,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53722,
    "c": 0.2246,
    "h": 317
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#9F2DC1
secondary
#90CC7E
accent
#E54368
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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