#9C1E97#9C1E97

#9C1E97 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.204 H 330.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9C1E97
RGBrgb(156, 30, 151)
HSLhsl(302, 68%, 36%)
HSVhsv(302, 81%, 61%)
CMYKcmyk(0%, 80.8%, 3.2%, 38.8%)
CIE-LABlab(38.26, 62.34, -36.89)
CIE-LCHlch(38.26, 72.44, 329.38°)
OKLaboklab(49.49% 0.1765 -0.102)
OKLCHoklch(49.49% 0.204 330)
XYZxyz(19.7604, 10.2324, 30.2065)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1E97 #1E9C23
analogous
#621E9C #9C1E97 #9C1E58
triadic
#9C1E97 #979C1E #1E979C
tetradic
#9C1E97 #9C621E #1E9C23 #1E589C
square
#9C1E97 #9C621E #1E9C23 #1E589C
split-complementary
#9C1E97 #589C1E #1E9C62
monochromatic
#350A34 #691465 #9C1E97 #CF28C9 #DE56D9

Accessibility & contrast

On white

6.89
#9C1E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9C1E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1E97
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1E97#FFFFFF#000000##FFFFFF
##9C1E971.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F9A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#A2325B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1e97;
/* rgb */ color: rgb(156, 30, 151);
/* oklch */ color: oklch(49.5% 0.204 330.0);
Tailwind
colors: {
  custom: {
    50: '#bd6bb6',
    500: '#9c1e97',
    950: '#000000',
  },
}
SCSS
$custom: #9c1e97;
$custom-light: #bd6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1e97",
  "rgb": {
    "r": 156,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 302.381,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49489,
    "c": 0.20384,
    "h": 330
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#9C1E97
secondary
#54C258
accent
#EB443D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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