#9C2791#9C2791

#9C2791 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.191 H 332.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9C2791
RGBrgb(156, 39, 145)
HSLhsl(306, 60%, 38%)
HSVhsv(306, 75%, 61%)
CMYKcmyk(0%, 75%, 7.1%, 38.8%)
CIE-LABlab(38.84, 58.76, -32.32)
CIE-LCHlch(38.84, 67.06, 331.19°)
OKLaboklab(49.8% 0.1688 -0.0889)
OKLCHoklch(49.8% 0.191 332.2)
XYZxyz(19.5467, 10.5649, 27.7923)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2791 #279C32
analogous
#6C279C #9C2791 #9C2756
triadic
#9C2791 #919C27 #27919C
tetradic
#9C2791 #9C6C27 #279C32 #27569C
square
#9C2791 #9C6C27 #279C32 #27569C
split-complementary
#9C2791 #569C27 #279C6C
monochromatic
#3A0F36 #6B1B63 #9C2791 #CC34BE #D865CE

Accessibility & contrast

On white

6.75
#9C2791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C2791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2791
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2791#FFFFFF#000000##FFFFFF
##9C27911.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5194
Deuteranopia (green-blind)
#4D618E
Tritanopia (blue-blind)
#A3345A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2791;
/* rgb */ color: rgb(156, 39, 145);
/* oklch */ color: oklch(49.8% 0.191 332.2);
Tailwind
colors: {
  custom: {
    50: '#bd6eb1',
    500: '#9c2791',
    950: '#000000',
  },
}
SCSS
$custom: #9c2791;
$custom-light: #bd6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2791",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 305.641,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49797,
    "c": 0.19075,
    "h": 332.2
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#9C2791
secondary
#61BE69
accent
#E35445
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2791

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

Preview Lab → · Contrast checker → · Palette generator →

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