#9C2DA3#9C2DA3

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

Color values

HEX#9C2DA3
RGBrgb(156, 45, 163)
HSLhsl(296, 57%, 41%)
HSVhsv(296, 72%, 64%)
CMYKcmyk(4.3%, 72.4%, 0%, 36.1%)
CIE-LABlab(40.56, 59.73, -40.48)
CIE-LCHlch(40.56, 72.15, 325.87°)
OKLaboklab(51.35% 0.1632 -0.1126)
OKLCHoklch(51.35% 0.198 325.4)
XYZxyz(21.2591, 11.5904, 35.7607)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DA3 #34A32D
analogous
#612DA3 #9C2DA3 #A32D6F
triadic
#9C2DA3 #A39C2D #2DA39C
tetradic
#9C2DA3 #A3612D #34A32D #2D6FA3
square
#9C2DA3 #A3612D #34A32D #2D6FA3
split-complementary
#9C2DA3 #6FA32D #2DA361
monochromatic
#401343 #6E2073 #9C2DA3 #C342CB #D272D8

Accessibility & contrast

On white

6.33
#9C2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9C2DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DA3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DA3#FFFFFF#000000##FFFFFF
##9C2DA31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A6
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#A04165
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2da3;
/* rgb */ color: rgb(156, 45, 163);
/* oklch */ color: oklch(51.4% 0.198 325.4);
Tailwind
colors: {
  custom: {
    50: '#bd71bf',
    500: '#9c2da3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2da3;
$custom-light: #bd71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2da3",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 296.441,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51354,
    "c": 0.19824,
    "h": 325.4
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#9C2DA3
secondary
#71C06C
accent
#E04851
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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