#9C2EA3#9C2EA3

#9C2EA3 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.197 H 325.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9C2EA3
RGBrgb(156, 46, 163)
HSLhsl(296, 56%, 41%)
HSVhsv(296, 72%, 64%)
CMYKcmyk(4.3%, 71.8%, 0%, 36.1%)
CIE-LABlab(40.68, 59.37, -40.28)
CIE-LCHlch(40.68, 71.74, 325.85°)
OKLaboklab(51.44% 0.1622 -0.112)
OKLCHoklch(51.44% 0.197 325.4)
XYZxyz(21.2977, 11.6676, 35.7735)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EA3 #35A32E
analogous
#612EA3 #9C2EA3 #A32E6F
triadic
#9C2EA3 #A39C2E #2EA39C
tetradic
#9C2EA3 #A3612E #35A32E #2E6FA3
square
#9C2EA3 #A3612E #35A32E #2E6FA3
split-complementary
#9C2EA3 #6FA32E #2EA361
monochromatic
#411344 #6E2173 #9C2EA3 #C244CA #D274D8

Accessibility & contrast

On white

6.30
#9C2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9C2EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EA3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EA3#FFFFFF#000000##FFFFFF
##9C2EA31.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A6
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#A04166
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2ea3;
/* rgb */ color: rgb(156, 46, 163);
/* oklch */ color: oklch(51.4% 0.197 325.4);
Tailwind
colors: {
  custom: {
    50: '#bd72bf',
    500: '#9c2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ea3;
$custom-light: #bd72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ea3",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 296.41,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.1971,
    "h": 325.4
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#9C2EA3
secondary
#72BF6D
accent
#DF4952
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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