#9C1987#9C1987

#9C1987 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.197 H 336.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9C1987
RGBrgb(156, 25, 135)
HSLhsl(310, 72%, 35%)
HSVhsv(310, 84%, 61%)
CMYKcmyk(0%, 84%, 13.5%, 38.8%)
CIE-LABlab(36.96, 61.15, -29.14)
CIE-LCHlch(36.96, 67.74, 334.52°)
OKLaboklab(48.28% 0.1798 -0.0796)
OKLCHoklch(48.28% 0.197 336.1)
XYZxyz(18.4314, 9.5142, 23.7827)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1987 #199C2E
analogous
#6F199C #9C1987 #9C1946
triadic
#9C1987 #879C19 #19879C
tetradic
#9C1987 #9C6F19 #199C2E #19469C
square
#9C1987 #9C6F19 #199C2E #19469C
split-complementary
#9C1987 #469C19 #199C6F
monochromatic
#33082C #671159 #9C1987 #D121B5 #E24DCA

Accessibility & contrast

On white

7.24
#9C1987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9C1987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1987
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1987#FFFFFF#000000##FFFFFF
##9C19871.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#A42551
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1987;
/* rgb */ color: rgb(156, 25, 135);
/* oklch */ color: oklch(48.3% 0.197 336.1);
Tailwind
colors: {
  custom: {
    50: '#bd69aa',
    500: '#9c1987',
    950: '#000000',
  },
}
SCSS
$custom: #9c1987;
$custom-light: #bd69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1987",
  "rgb": {
    "r": 156,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 309.618,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48278,
    "c": 0.19662,
    "h": 336.1
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#9C1987
secondary
#4CC460
accent
#EF5639
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1987

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

Preview Lab → · Contrast checker → · Palette generator →

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