#9C1D9E#9C1D9E

#9C1D9E is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.210 H 327.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9C1D9E
RGBrgb(156, 29, 158)
HSLhsl(299, 69%, 37%)
HSVhsv(299, 82%, 62%)
CMYKcmyk(1.3%, 81.6%, 0%, 38%)
CIE-LABlab(38.58, 63.72, -40.62)
CIE-LCHlch(38.58, 75.56, 327.48°)
OKLaboklab(49.85% 0.1769 -0.1129)
OKLCHoklch(49.85% 0.21 327.5)
XYZxyz(20.3209, 10.4168, 33.2815)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D9E #1F9E1D
analogous
#5C1D9E #9C1D9E #9E1D60
triadic
#9C1D9E #9E9C1D #1D9E9C
tetradic
#9C1D9E #9E5C1D #1F9E1D #1D609E
square
#9C1D9E #9E5C1D #1F9E1D #1D609E
split-complementary
#9C1D9E #609E1D #1D9E5C
monochromatic
#360A37 #69146A #9C1D9E #CF26D2 #DE56E0

Accessibility & contrast

On white

6.81
#9C1D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9C1D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1D9E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D9E#FFFFFF#000000##FFFFFF
##9C1D9E1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#A1355F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c1d9e;
/* rgb */ color: rgb(156, 29, 158);
/* oklch */ color: oklch(49.9% 0.210 327.5);
Tailwind
colors: {
  custom: {
    50: '#bd6bbb',
    500: '#9c1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d9e;
$custom-light: #bd6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d9e",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 299.07,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.20985,
    "h": 327.5
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#9C1D9E
secondary
#55C354
accent
#EC3C3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9C1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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