#9F2DBE#9F2DBE

#9F2DBE is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.222 H 317.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9F2DBE
RGBrgb(159, 45, 190)
HSLhsl(287, 62%, 46%)
HSVhsv(287, 76%, 75%)
CMYKcmyk(16.3%, 76.3%, 0%, 25.5%)
CIE-LABlab(42.71, 65.26, -52.98)
CIE-LCHlch(42.71, 84.06, 320.93°)
OKLaboklab(53.52% 0.1646 -0.1491)
OKLCHoklch(53.52% 0.222 317.8)
XYZxyz(24.5294, 12.9665, 49.9159)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DBE #4CBE2D
analogous
#562DBE #9F2DBE #BE2D94
triadic
#9F2DBE #BE9F2D #2DBE9F
tetradic
#9F2DBE #BE562D #4CBE2D #2D94BE
square
#9F2DBE #BE562D #4CBE2D #2D94BE
split-complementary
#9F2DBE #94BE2D #2DBE56
monochromatic
#4C165B #76218D #9F2DBE #BA52D6 #CE84E2

Accessibility & contrast

On white

5.84
#9F2DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9F2DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DBE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DBE#FFFFFF#000000##FFFFFF
##9F2DBE1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3368BB
Tritanopia (blue-blind)
#9E4D75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2dbe;
/* rgb */ color: rgb(159, 45, 190);
/* oklch */ color: oklch(53.5% 0.222 317.8);
Tailwind
colors: {
  custom: {
    50: '#c073d2',
    500: '#9f2dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9f2dbe;
$custom-light: #c073d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2dbe",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 287.172,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.22205,
    "h": 317.8
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#9F2DBE
secondary
#8DCB7C
accent
#E54366
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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