#9F2DCC#9F2DCC

#9F2DCC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.234 H 314.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9F2DCC
RGBrgb(159, 45, 204)
HSLhsl(283, 64%, 49%)
HSVhsv(283, 78%, 80%)
CMYKcmyk(22.1%, 77.9%, 0%, 20%)
CIE-LABlab(43.67, 67.95, -59.59)
CIE-LCHlch(43.67, 90.38, 318.75°)
OKLaboklab(54.49% 0.1624 -0.1684)
OKLCHoklch(54.49% 0.234 314)
XYZxyz(26.1337, 13.6082, 58.3650)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DCC #5ACC2D
analogous
#502DCC #9F2DCC #CC2DAA
triadic
#9F2DCC #CC9F2D #2DCC9F
tetradic
#9F2DCC #CC502D #5ACC2D #2DAACC
square
#9F2DCC #CC502D #5ACC2D #2DAACC
split-complementary
#9F2DCC #AACC2D #2DCC50
monochromatic
#511768 #78229A #9F2DCC #B75BDB #CD8DE6

Accessibility & contrast

On white

5.64
#9F2DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9F2DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DCC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DCC#FFFFFF#000000##FFFFFF
##9F2DCC1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#1D6AC9
Tritanopia (blue-blind)
#9A537C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f2dcc;
/* rgb */ color: rgb(159, 45, 204);
/* oklch */ color: oklch(54.5% 0.234 314.0);
Tailwind
colors: {
  custom: {
    50: '#c073dc',
    500: '#9f2dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9f2dcc;
$custom-light: #c073dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2dcc",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 283.019,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.23398,
    "h": 314
  },
  "luminance": 0.13607
}

Semantic roles & 50–950 ramp

primary
#9F2DCC
secondary
#9AD085
accent
#E74170
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F2DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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