#9C2CA2#9C2CA2

#9C2CA2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.199 H 325.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C2CA2
RGBrgb(156, 44, 162)
HSLhsl(297, 57%, 40%)
HSVhsv(297, 73%, 64%)
CMYKcmyk(3.7%, 72.8%, 0%, 36.5%)
CIE-LABlab(40.38, 59.90, -40.17)
CIE-LCHlch(40.38, 72.12, 326.16°)
OKLaboklab(51.21% 0.1642 -0.1116)
OKLCHoklch(51.21% 0.199 325.8)
XYZxyz(21.1321, 11.4793, 35.2781)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CA2 #32A22C
analogous
#612CA2 #9C2CA2 #A22C6D
triadic
#9C2CA2 #A29C2C #2CA29C
tetradic
#9C2CA2 #A2612C #32A22C #2C6DA2
square
#9C2CA2 #A2612C #32A22C #2C6DA2
split-complementary
#9C2CA2 #6DA22C #2CA261
monochromatic
#3F1242 #6E1F72 #9C2CA2 #C440CB #D370D8

Accessibility & contrast

On white

6.37
#9C2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9C2CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CA2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CA2#FFFFFF#000000##FFFFFF
##9C2CA21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#A04065
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2ca2;
/* rgb */ color: rgb(156, 44, 162);
/* oklch */ color: oklch(51.2% 0.199 325.8);
Tailwind
colors: {
  custom: {
    50: '#bd71be',
    500: '#9c2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ca2;
$custom-light: #bd71be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ca2",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 296.949,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.19855,
    "h": 325.8
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#9C2CA2
secondary
#6FBF6A
accent
#E1474F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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