#9C2DC4#9C2DC4

#9C2DC4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.226 H 315.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9C2DC4
RGBrgb(156, 45, 196)
HSLhsl(284, 63%, 47%)
HSVhsv(284, 77%, 77%)
CMYKcmyk(20.4%, 77%, 0%, 23.1%)
CIE-LABlab(42.66, 65.85, -56.60)
CIE-LCHlch(42.66, 86.83, 319.32°)
OKLaboklab(53.52% 0.16 -0.1597)
OKLCHoklch(53.52% 0.226 315.1)
XYZxyz(24.6109, 12.9311, 53.4134)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DC4 #55C42D
analogous
#512DC4 #9C2DC4 #C42DA1
triadic
#9C2DC4 #C49C2D #2DC49C
tetradic
#9C2DC4 #C4512D #55C42D #2DA1C4
square
#9C2DC4 #C4512D #55C42D #2DA1C4
split-complementary
#9C2DC4 #A1C42D #2DC451
monochromatic
#4D1660 #742292 #9C2DC4 #B656D8 #CB88E4

Accessibility & contrast

On white

5.86
#9C2DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9C2DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DC4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DC4#FFFFFF#000000##FFFFFF
##9C2DC41.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2567C1
Tritanopia (blue-blind)
#995078
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c2dc4;
/* rgb */ color: rgb(156, 45, 196);
/* oklch */ color: oklch(53.5% 0.226 315.1);
Tailwind
colors: {
  custom: {
    50: '#be73d7',
    500: '#9c2dc4',
    950: '#000000',
  },
}
SCSS
$custom: #9c2dc4;
$custom-light: #be73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2dc4",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 284.106,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.22612,
    "h": 315.1
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#9C2DC4
secondary
#94CD80
accent
#E6426D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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