#9C2DCE#9C2DCE

#9C2DCE is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.235 H 312.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9C2DCE
RGBrgb(156, 45, 206)
HSLhsl(281, 64%, 49%)
HSVhsv(281, 78%, 81%)
CMYKcmyk(24.3%, 78.2%, 0%, 19.2%)
CIE-LABlab(43.36, 67.81, -61.26)
CIE-LCHlch(43.36, 91.39, 317.91°)
OKLaboklab(54.23% 0.1582 -0.1735)
OKLCHoklch(54.23% 0.235 312.4)
XYZxyz(25.7872, 13.4017, 59.6089)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DCE #5FCE2D
analogous
#4B2DCE #9C2DCE #CE2DB0
triadic
#9C2DCE #CE9C2D #2DCE9C
tetradic
#9C2DCE #CE4B2D #5FCE2D #2DB0CE
square
#9C2DCE #CE4B2D #5FCE2D #2DB0CE
split-complementary
#9C2DCE #B0CE2D #2DCE4B
monochromatic
#50176A #76229C #9C2DCE #B45DDC #CB8FE7

Accessibility & contrast

On white

5.71
#9C2DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9C2DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DCE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DCE#FFFFFF#000000##FFFFFF
##9C2DCE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0D69CB
Tritanopia (blue-blind)
#96547E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c2dce;
/* rgb */ color: rgb(156, 45, 206);
/* oklch */ color: oklch(54.2% 0.235 312.4);
Tailwind
colors: {
  custom: {
    50: '#be73de',
    500: '#9c2dce',
    950: '#000000',
  },
}
SCSS
$custom: #9c2dce;
$custom-light: #be73de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2dce",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 281.366,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.23479,
    "h": 312.4
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#9C2DCE
secondary
#9DD186
accent
#E74174
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C2DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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