#9F2DAD#9F2DAD

#9F2DAD is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.208 H 323.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9F2DAD
RGBrgb(159, 45, 173)
HSLhsl(293, 59%, 43%)
HSVhsv(293, 74%, 68%)
CMYKcmyk(8.1%, 74%, 0%, 32.2%)
CIE-LABlab(41.64, 62.14, -44.69)
CIE-LCHlch(41.64, 76.55, 324.28°)
OKLaboklab(52.41% 0.1662 -0.1248)
OKLCHoklch(52.41% 0.208 323.1)
XYZxyz(22.7786, 12.2662, 40.6949)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DAD #3BAD2D
analogous
#5F2DAD #9F2DAD #AD2D7B
triadic
#9F2DAD #AD9F2D #2DAD9F
tetradic
#9F2DAD #AD5F2D #3BAD2D #2D7BAD
square
#9F2DAD #AD5F2D #3BAD2D #2D7BAD
split-complementary
#9F2DAD #7BAD2D #2DAD5F
monochromatic
#46144C #72207C #9F2DAD #C148CF #D178DC

Accessibility & contrast

On white

6.08
#9F2DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9F2DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DAD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DAD#FFFFFF#000000##FFFFFF
##9F2DAD1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#4267AA
Tritanopia (blue-blind)
#A1456B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2dad;
/* rgb */ color: rgb(159, 45, 173);
/* oklch */ color: oklch(52.4% 0.208 323.1);
Tailwind
colors: {
  custom: {
    50: '#bf72c6',
    500: '#9f2dad',
    950: '#000000',
  },
}
SCSS
$custom: #9f2dad;
$custom-light: #bf72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2dad",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 293.438,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.20783,
    "h": 323.1
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#9F2DAD
secondary
#7BC472
accent
#E24657
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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