#9C2E97#9C2E97

#9C2E97 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.187 H 329.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9C2E97
RGBrgb(156, 46, 151)
HSLhsl(303, 54%, 40%)
HSVhsv(303, 71%, 61%)
CMYKcmyk(0%, 70.5%, 3.2%, 38.8%)
CIE-LABlab(40.01, 57.31, -34.11)
CIE-LCHlch(40.01, 66.70, 329.24°)
OKLaboklab(50.75% 0.1621 -0.0941)
OKLCHoklch(50.75% 0.187 329.9)
XYZxyz(20.2731, 11.2578, 30.3774)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E97 #2E9C33
analogous
#6A2E9C #9C2E97 #9C2E60
triadic
#9C2E97 #979C2E #2E979C
tetradic
#9C2E97 #9C6A2E #2E9C33 #2E609C
square
#9C2E97 #9C6A2E #2E9C33 #2E609C
split-complementary
#9C2E97 #609C2E #2E9C6A
monochromatic
#3D123C #6D2069 #9C2E97 #C740C1 #D570D0

Accessibility & contrast

On white

6.46
#9C2E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9C2E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E97
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E97#FFFFFF#000000##FFFFFF
##9C2E971.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#4D6494
Tritanopia (blue-blind)
#A23C5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2e97;
/* rgb */ color: rgb(156, 46, 151);
/* oklch */ color: oklch(50.7% 0.187 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd71b6',
    500: '#9c2e97',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e97;
$custom-light: #bd71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e97",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 302.727,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.18739,
    "h": 329.9
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#9C2E97
secondary
#6ABC6D
accent
#DE514A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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