#9C2BA7#9C2BA7

#9C2BA7 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.204 H 324.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9C2BA7
RGBrgb(156, 43, 167)
HSLhsl(295, 59%, 41%)
HSVhsv(295, 74%, 65%)
CMYKcmyk(6.6%, 74.3%, 0%, 34.5%)
CIE-LABlab(40.55, 61.12, -42.88)
CIE-LCHlch(40.55, 74.66, 324.95°)
OKLaboklab(51.43% 0.165 -0.1195)
OKLCHoklch(51.43% 0.204 324.1)
XYZxyz(21.5486, 11.5870, 37.6532)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BA7 #36A72B
analogous
#5E2BA7 #9C2BA7 #A72B74
triadic
#9C2BA7 #A79C2B #2BA79C
tetradic
#9C2BA7 #A75E2B #36A72B #2B74A7
square
#9C2BA7 #A75E2B #36A72B #2B74A7
split-complementary
#9C2BA7 #74A72B #2BA75E
monochromatic
#411246 #6F1E76 #9C2BA7 #C241CE #D172DB

Accessibility & contrast

On white

6.33
#9C2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9C2BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BA7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BA7#FFFFFF#000000##FFFFFF
##9C2BA71.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4264A4
Tritanopia (blue-blind)
#9F4167
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2ba7;
/* rgb */ color: rgb(156, 43, 167);
/* oklch */ color: oklch(51.4% 0.204 324.1);
Tailwind
colors: {
  custom: {
    50: '#bd70c2',
    500: '#9c2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ba7;
$custom-light: #bd70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ba7",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 294.677,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.20372,
    "h": 324.1
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#9C2BA7
secondary
#74C26C
accent
#E24653
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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