#9C2DA1#9C2DA1

#9C2DA1 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.197 H 326.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9C2DA1
RGBrgb(156, 45, 161)
HSLhsl(297, 56%, 40%)
HSVhsv(297, 72%, 63%)
CMYKcmyk(3.1%, 72%, 0%, 36.9%)
CIE-LABlab(40.44, 59.38, -39.46)
CIE-LCHlch(40.44, 71.29, 326.39°)
OKLaboklab(51.23% 0.1632 -0.1096)
OKLCHoklch(51.23% 0.197 326.1)
XYZxyz(21.0813, 11.5193, 34.8244)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DA1 #32A12D
analogous
#622DA1 #9C2DA1 #A12D6C
triadic
#9C2DA1 #A19C2D #2DA19C
tetradic
#9C2DA1 #A1622D #32A12D #2D6CA1
square
#9C2DA1 #A1622D #32A12D #2D6CA1
split-complementary
#9C2DA1 #6CA12D #2DA162
monochromatic
#3F1241 #6E2071 #9C2DA1 #C441CA #D371D7

Accessibility & contrast

On white

6.36
#9C2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9C2DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DA1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DA1#FFFFFF#000000##FFFFFF
##9C2DA11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#47649E
Tritanopia (blue-blind)
#A04064
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2da1;
/* rgb */ color: rgb(156, 45, 161);
/* oklch */ color: oklch(51.2% 0.197 326.1);
Tailwind
colors: {
  custom: {
    50: '#bd71bd',
    500: '#9c2da1',
    950: '#000000',
  },
}
SCSS
$custom: #9c2da1;
$custom-light: #bd71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2da1",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 297.414,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.19661,
    "h": 326.1
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#9C2DA1
secondary
#6FBF6B
accent
#E0484F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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