#9C1D98#9C1D98

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

Color values

HEX#9C1D98
RGBrgb(156, 29, 152)
HSLhsl(302, 69%, 36%)
HSVhsv(302, 81%, 61%)
CMYKcmyk(0%, 81.4%, 2.6%, 38.8%)
CIE-LABlab(38.23, 62.75, -37.55)
CIE-LCHlch(38.23, 73.13, 329.10°)
OKLaboklab(49.49% 0.1772 -0.1039)
OKLCHoklch(49.49% 0.205 329.6)
XYZxyz(19.8170, 10.2152, 30.6277)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D98 #1D9C21
analogous
#611D9C #9C1D98 #9C1D59
triadic
#9C1D98 #989C1D #1D989C
tetradic
#9C1D98 #9C611D #1D9C21 #1D599C
square
#9C1D98 #9C611D #1D9C21 #1D599C
split-complementary
#9C1D98 #599C1D #1D9C61
monochromatic
#350A33 #681366 #9C1D98 #D027CA #DF54DB

Accessibility & contrast

On white

6.90
#9C1D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9C1D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1D98
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D98#FFFFFF#000000##FFFFFF
##9C1D981.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#A2325B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1d98;
/* rgb */ color: rgb(156, 29, 152);
/* oklch */ color: oklch(49.5% 0.205 329.6);
Tailwind
colors: {
  custom: {
    50: '#bd6bb7',
    500: '#9c1d98',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d98;
$custom-light: #bd6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d98",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 301.89,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.20541,
    "h": 329.6
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#9C1D98
secondary
#52C256
accent
#EB423C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1D98

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

Preview Lab → · Contrast checker → · Palette generator →

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