#9C2DC2#9C2DC2

#9C2DC2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.224 H 315.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9C2DC2
RGBrgb(156, 45, 194)
HSLhsl(285, 62%, 47%)
HSVhsv(285, 77%, 76%)
CMYKcmyk(19.6%, 76.8%, 0%, 23.9%)
CIE-LABlab(42.52, 65.46, -55.65)
CIE-LCHlch(42.52, 85.92, 319.63°)
OKLaboklab(53.38% 0.1604 -0.157)
OKLCHoklch(53.38% 0.224 315.6)
XYZxyz(24.3847, 12.8407, 52.2225)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DC2 #53C22D
analogous
#522DC2 #9C2DC2 #C22D9E
triadic
#9C2DC2 #C29C2D #2DC29C
tetradic
#9C2DC2 #C2522D #53C22D #2D9EC2
square
#9C2DC2 #C2522D #53C22D #2D9EC2
split-complementary
#9C2DC2 #9EC22D #2DC252
monochromatic
#4C165F #742190 #9C2DC2 #B655D7 #CB86E3

Accessibility & contrast

On white

5.89
#9C2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9C2DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DC2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DC2#FFFFFF#000000##FFFFFF
##9C2DC21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2967BF
Tritanopia (blue-blind)
#994F77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2dc2;
/* rgb */ color: rgb(156, 45, 194);
/* oklch */ color: oklch(53.4% 0.224 315.6);
Tailwind
colors: {
  custom: {
    50: '#be72d5',
    500: '#9c2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2dc2;
$custom-light: #be72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2dc2",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 284.698,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.2244,
    "h": 315.6
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#9C2DC2
secondary
#92CD7E
accent
#E5426C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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