#9C2DA0#9C2DA0

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

Color values

HEX#9C2DA0
RGBrgb(156, 45, 160)
HSLhsl(298, 56%, 40%)
HSVhsv(298, 72%, 63%)
CMYKcmyk(2.5%, 71.9%, 0%, 37.3%)
CIE-LABlab(40.38, 59.20, -38.95)
CIE-LCHlch(40.38, 70.87, 326.66°)
OKLaboklab(51.17% 0.1632 -0.1081)
OKLCHoklch(51.17% 0.196 326.5)
XYZxyz(20.9935, 11.4842, 34.3618)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DA0 #31A02D
analogous
#622DA0 #9C2DA0 #A02D6A
triadic
#9C2DA0 #A09C2D #2DA09C
tetradic
#9C2DA0 #A0622D #31A02D #2D6AA0
square
#9C2DA0 #A0622D #31A02D #2D6AA0
split-complementary
#9C2DA0 #6AA02D #2DA062
monochromatic
#3F1240 #6D2070 #9C2DA0 #C541C9 #D370D7

Accessibility & contrast

On white

6.37
#9C2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2DA0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DA0#FFFFFF#000000##FFFFFF
##9C2DA01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A3
Deuteranopia (green-blind)
#48649D
Tritanopia (blue-blind)
#A03F64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2da0;
/* rgb */ color: rgb(156, 45, 160);
/* oklch */ color: oklch(51.2% 0.196 326.5);
Tailwind
colors: {
  custom: {
    50: '#bd71bc',
    500: '#9c2da0',
    950: '#000000',
  },
}
SCSS
$custom: #9c2da0;
$custom-light: #bd71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2da0",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 297.913,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.1958,
    "h": 326.5
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#9C2DA0
secondary
#6DBE6B
accent
#DF484E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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