#9C2DBC#9C2DBC

#9C2DBC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.219 H 317.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9C2DBC
RGBrgb(156, 45, 188)
HSLhsl(287, 61%, 46%)
HSVhsv(287, 76%, 74%)
CMYKcmyk(17%, 76.1%, 0%, 26.3%)
CIE-LABlab(42.12, 64.31, -52.79)
CIE-LCHlch(42.12, 83.20, 320.61°)
OKLaboklab(52.96% 0.1612 -0.1486)
OKLCHoklch(52.96% 0.219 317.3)
XYZxyz(23.7245, 12.5766, 48.7450)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DBC #4DBC2D
analogous
#542DBC #9C2DBC #BC2D94
triadic
#9C2DBC #BC9C2D #2DBC9C
tetradic
#9C2DBC #BC542D #4DBC2D #2D94BC
square
#9C2DBC #BC542D #4DBC2D #2D94BC
split-complementary
#9C2DBC #94BC2D #2DBC54
monochromatic
#4A1559 #73218B #9C2DBC #B851D5 #CC82E1

Accessibility & contrast

On white

5.97
#9C2DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9C2DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DBC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DBC#FFFFFF#000000##FFFFFF
##9C2DBC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3067B9
Tritanopia (blue-blind)
#9B4C73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2dbc;
/* rgb */ color: rgb(156, 45, 188);
/* oklch */ color: oklch(53.0% 0.219 317.3);
Tailwind
colors: {
  custom: {
    50: '#bd72d1',
    500: '#9c2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #9c2dbc;
$custom-light: #bd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2dbc",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 286.573,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.21924,
    "h": 317.3
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#9C2DBC
secondary
#8CCA7B
accent
#E44367
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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