#9F2DB9#9F2DB9

#9F2DB9 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.218 H 319.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9F2DB9
RGBrgb(159, 45, 185)
HSLhsl(289, 61%, 45%)
HSVhsv(289, 76%, 73%)
CMYKcmyk(14.1%, 75.7%, 0%, 27.5%)
CIE-LABlab(42.39, 64.33, -50.58)
CIE-LCHlch(42.39, 81.83, 321.82°)
OKLaboklab(53.18% 0.1652 -0.142)
OKLCHoklch(53.18% 0.218 319.3)
XYZxyz(23.9923, 12.7517, 47.0871)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DB9 #47B92D
analogous
#592DB9 #9F2DB9 #B92D8D
triadic
#9F2DB9 #B99F2D #2DB99F
tetradic
#9F2DB9 #B9592D #47B92D #2D8DB9
square
#9F2DB9 #B9592D #47B92D #2D8DB9
split-complementary
#9F2DB9 #8DB92D #2DB959
monochromatic
#4A1557 #752188 #9F2DB9 #BB4FD4 #CE80E0

Accessibility & contrast

On white

5.92
#9F2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9F2DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DB9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DB9#FFFFFF#000000##FFFFFF
##9F2DB91.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#3868B6
Tritanopia (blue-blind)
#9F4A72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2db9;
/* rgb */ color: rgb(159, 45, 185);
/* oklch */ color: oklch(53.2% 0.218 319.3);
Tailwind
colors: {
  custom: {
    50: '#bf72cf',
    500: '#9f2db9',
    950: '#000000',
  },
}
SCSS
$custom: #9f2db9;
$custom-light: #bf72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2db9",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 288.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.21783,
    "h": 319.3
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#9F2DB9
secondary
#88C979
accent
#E44462
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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