#9C2E99#9C2E99

#9C2E99 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.189 H 329.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9C2E99
RGBrgb(156, 46, 153)
HSLhsl(302, 54%, 40%)
HSVhsv(302, 71%, 61%)
CMYKcmyk(0%, 70.5%, 1.9%, 38.8%)
CIE-LABlab(40.12, 57.65, -35.15)
CIE-LCHlch(40.12, 67.52, 328.63°)
OKLaboklab(50.86% 0.1621 -0.0971)
OKLCHoklch(50.86% 0.189 329.1)
XYZxyz(20.4369, 11.3233, 31.2400)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E99 #2E9C31
analogous
#682E9C #9C2E99 #9C2E62
triadic
#9C2E99 #999C2E #2E999C
tetradic
#9C2E99 #9C682E #2E9C31 #2E629C
square
#9C2E99 #9C682E #2E9C31 #2E629C
split-complementary
#9C2E99 #629C2E #2E9C68
monochromatic
#3D123C #6D206B #9C2E99 #C740C3 #D570D2

Accessibility & contrast

On white

6.43
#9C2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9C2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E99
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E99#FFFFFF#000000##FFFFFF
##9C2E991.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#4C6496
Tritanopia (blue-blind)
#A13D60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2e99;
/* rgb */ color: rgb(156, 46, 153);
/* oklch */ color: oklch(50.9% 0.189 329.1);
Tailwind
colors: {
  custom: {
    50: '#bd71b7',
    500: '#9c2e99',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e99;
$custom-light: #bd71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e99",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 301.636,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.18899,
    "h": 329.1
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#9C2E99
secondary
#6ABC6C
accent
#DE4E4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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