#9C2DB2#9C2DB2

#9C2DB2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.211 H 320.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9C2DB2
RGBrgb(156, 45, 178)
HSLhsl(290, 60%, 44%)
HSVhsv(290, 75%, 70%)
CMYKcmyk(12.4%, 74.7%, 0%, 30.2%)
CIE-LABlab(41.47, 62.43, -47.95)
CIE-LCHlch(41.47, 78.72, 322.47°)
OKLaboklab(52.3% 0.1623 -0.1344)
OKLCHoklch(52.3% 0.211 320.4)
XYZxyz(22.6836, 12.1602, 43.2632)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DB2 #43B22D
analogous
#592DB2 #9C2DB2 #B22D85
triadic
#9C2DB2 #B29C2D #2DB29C
tetradic
#9C2DB2 #B2592D #43B22D #2D85B2
square
#9C2DB2 #B2592D #43B22D #2D85B2
split-complementary
#9C2DB2 #85B22D #2DB259
monochromatic
#461450 #712181 #9C2DB2 #BB4BD1 #CE7CDE

Accessibility & contrast

On white

6.12
#9C2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9C2DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DB2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DB2#FFFFFF#000000##FFFFFF
##9C2DB21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#9D486E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2db2;
/* rgb */ color: rgb(156, 45, 178);
/* oklch */ color: oklch(52.3% 0.211 320.4);
Tailwind
colors: {
  custom: {
    50: '#bd72ca',
    500: '#9c2db2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2db2;
$custom-light: #bd72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2db2",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 290.075,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.21074,
    "h": 320.4
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#9C2DB2
secondary
#82C675
accent
#E3455F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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