#9C2DB3#9C2DB3

#9C2DB3 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.212 H 320.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9C2DB3
RGBrgb(156, 45, 179)
HSLhsl(290, 60%, 44%)
HSVhsv(290, 75%, 70%)
CMYKcmyk(12.8%, 74.9%, 0%, 29.8%)
CIE-LABlab(41.53, 62.61, -48.44)
CIE-LCHlch(41.53, 79.16, 322.27°)
OKLaboklab(52.36% 0.1622 -0.1358)
OKLCHoklch(52.36% 0.212 320.1)
XYZxyz(22.7844, 12.2005, 43.7939)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DB3 #44B32D
analogous
#592DB3 #9C2DB3 #B32D87
triadic
#9C2DB3 #B39C2D #2DB39C
tetradic
#9C2DB3 #B3592D #44B32D #2D87B3
square
#9C2DB3 #B3592D #44B32D #2D87B3
split-complementary
#9C2DB3 #87B32D #2DB359
monochromatic
#471451 #712182 #9C2DB3 #BB4BD2 #CD7CDE

Accessibility & contrast

On white

6.11
#9C2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9C2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DB3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DB3#FFFFFF#000000##FFFFFF
##9C2DB31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#9C486E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2db3;
/* rgb */ color: rgb(156, 45, 179);
/* oklch */ color: oklch(52.4% 0.212 320.1);
Tailwind
colors: {
  custom: {
    50: '#bd72ca',
    500: '#9c2db3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2db3;
$custom-light: #bd72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2db3",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 289.701,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.21158,
    "h": 320.1
  },
  "luminance": 0.12199
}

Semantic roles & 50–950 ramp

primary
#9C2DB3
secondary
#83C775
accent
#E34560
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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