#9C2DA5#9C2DA5

#9C2DA5 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.200 H 324.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9C2DA5
RGBrgb(156, 45, 165)
HSLhsl(296, 57%, 41%)
HSVhsv(296, 73%, 65%)
CMYKcmyk(5.5%, 72.7%, 0%, 35.3%)
CIE-LABlab(40.67, 60.08, -41.49)
CIE-LCHlch(40.67, 73.01, 325.37°)
OKLaboklab(51.48% 0.1631 -0.1155)
OKLCHoklch(51.48% 0.2 324.7)
XYZxyz(21.4397, 11.6627, 36.7119)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DA5 #36A52D
analogous
#602DA5 #9C2DA5 #A52D72
triadic
#9C2DA5 #A59C2D #2DA59C
tetradic
#9C2DA5 #A5602D #36A52D #2D72A5
square
#9C2DA5 #A5602D #36A52D #2D72A5
split-complementary
#9C2DA5 #72A52D #2DA560
monochromatic
#411345 #6F2075 #9C2DA5 #C243CC #D173D9

Accessibility & contrast

On white

6.30
#9C2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2DA5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DA5#FFFFFF#000000##FFFFFF
##9C2DA51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0457A8
Deuteranopia (green-blind)
#4564A2
Tritanopia (blue-blind)
#9F4266
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2da5;
/* rgb */ color: rgb(156, 45, 165);
/* oklch */ color: oklch(51.5% 0.200 324.7);
Tailwind
colors: {
  custom: {
    50: '#bd71c0',
    500: '#9c2da5',
    950: '#000000',
  },
}
SCSS
$custom: #9c2da5;
$custom-light: #bd71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2da5",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 295.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.19988,
    "h": 324.7
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#9C2DA5
secondary
#74C16D
accent
#E04753
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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