#9C2D9E#9C2D9E

#9C2D9E is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.194 H 327.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9C2D9E
RGBrgb(156, 45, 158)
HSLhsl(299, 56%, 40%)
HSVhsv(299, 72%, 62%)
CMYKcmyk(1.3%, 71.5%, 0%, 38%)
CIE-LABlab(40.27, 58.86, -37.93)
CIE-LCHlch(40.27, 70.02, 327.20°)
OKLaboklab(51.06% 0.1632 -0.1052)
OKLCHoklch(51.06% 0.194 327.2)
XYZxyz(20.8199, 11.4148, 33.4478)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D9E #2F9E2D
analogous
#642D9E #9C2D9E #9E2D68
triadic
#9C2D9E #9E9C2D #2D9E9C
tetradic
#9C2D9E #9E642D #2F9E2D #2D689E
square
#9C2D9E #9E642D #2F9E2D #2D689E
split-complementary
#9C2D9E #689E2D #2D9E64
monochromatic
#3E123F #6D1F6E #9C2D9E #C640C9 #D46FD6

Accessibility & contrast

On white

6.40
#9C2D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C2D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2D9E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D9E#FFFFFF#000000##FFFFFF
##9C2D9E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#49649B
Tritanopia (blue-blind)
#A13E63
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2d9e;
/* rgb */ color: rgb(156, 45, 158);
/* oklch */ color: oklch(51.1% 0.194 327.2);
Tailwind
colors: {
  custom: {
    50: '#bd71bb',
    500: '#9c2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d9e;
$custom-light: #bd71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d9e",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 298.938,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.19417,
    "h": 327.2
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#9C2D9E
secondary
#6BBD69
accent
#DF494B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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