#9C2B98#9C2B98

#9C2B98 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.192 H 329.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9C2B98
RGBrgb(156, 43, 152)
HSLhsl(302, 57%, 39%)
HSVhsv(302, 72%, 61%)
CMYKcmyk(0%, 72.4%, 2.6%, 38.8%)
CIE-LABlab(39.69, 58.55, -35.23)
CIE-LCHlch(39.69, 68.33, 328.96°)
OKLaboklab(50.53% 0.1652 -0.0973)
OKLCHoklch(50.53% 0.192 329.5)
XYZxyz(20.2415, 11.0642, 30.7692)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B98 #2B9C2F
analogous
#682B9C #9C2B98 #9C2B60
triadic
#9C2B98 #989C2B #2B989C
tetradic
#9C2B98 #9C682B #2B9C2F #2B609C
square
#9C2B98 #9C682B #2B9C2F #2B609C
split-complementary
#9C2B98 #609C2B #2B9C68
monochromatic
#3C113B #6C1E69 #9C2B98 #C93BC4 #D66BD2

Accessibility & contrast

On white

6.54
#9C2B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9C2B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2B98
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B98#FFFFFF#000000##FFFFFF
##9C2B981.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#A23A5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2b98;
/* rgb */ color: rgb(156, 43, 152);
/* oklch */ color: oklch(50.5% 0.192 329.5);
Tailwind
colors: {
  custom: {
    50: '#bd70b7',
    500: '#9c2b98',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b98;
$custom-light: #bd70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b98",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 302.124,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5053,
    "c": 0.19169,
    "h": 329.5
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#9C2B98
secondary
#66BD69
accent
#E04D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2B98

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

Preview Lab → · Contrast checker → · Palette generator →

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