#9C2DA4#9C2DA4

#9C2DA4 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.199 H 325.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9C2DA4
RGBrgb(156, 45, 164)
HSLhsl(296, 57%, 41%)
HSVhsv(296, 73%, 64%)
CMYKcmyk(4.9%, 72.6%, 0%, 35.7%)
CIE-LABlab(40.62, 59.90, -40.98)
CIE-LCHlch(40.62, 72.58, 325.62°)
OKLaboklab(51.42% 0.1632 -0.114)
OKLCHoklch(51.42% 0.199 325)
XYZxyz(21.3490, 11.6264, 36.2344)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DA4 #35A42D
analogous
#602DA4 #9C2DA4 #A42D70
triadic
#9C2DA4 #A49C2D #2DA49C
tetradic
#9C2DA4 #A4602D #35A42D #2D70A4
square
#9C2DA4 #A4602D #35A42D #2D70A4
split-complementary
#9C2DA4 #70A42D #2DA460
monochromatic
#411344 #6E2074 #9C2DA4 #C243CB #D273D9

Accessibility & contrast

On white

6.32
#9C2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9C2DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DA4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DA4#FFFFFF#000000##FFFFFF
##9C2DA41.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0757A7
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#9F4166
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2da4;
/* rgb */ color: rgb(156, 45, 164);
/* oklch */ color: oklch(51.4% 0.199 325.0);
Tailwind
colors: {
  custom: {
    50: '#bd71bf',
    500: '#9c2da4',
    950: '#000000',
  },
}
SCSS
$custom: #9c2da4;
$custom-light: #bd71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2da4",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 295.966,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.19906,
    "h": 325
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#9C2DA4
secondary
#72C06D
accent
#E04852
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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