#9C2EA4#9C2EA4

#9C2EA4 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.198 H 325.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9C2EA4
RGBrgb(156, 46, 164)
HSLhsl(296, 56%, 41%)
HSVhsv(296, 72%, 64%)
CMYKcmyk(4.9%, 72%, 0%, 35.7%)
CIE-LABlab(40.74, 59.55, -40.78)
CIE-LCHlch(40.74, 72.17, 325.59°)
OKLaboklab(51.5% 0.1622 -0.1135)
OKLCHoklch(51.5% 0.198 325)
XYZxyz(21.3876, 11.7036, 36.2473)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EA4 #36A42E
analogous
#612EA4 #9C2EA4 #A42E71
triadic
#9C2EA4 #A49C2E #2EA49C
tetradic
#9C2EA4 #A4612E #36A42E #2E71A4
square
#9C2EA4 #A4612E #36A42E #2E71A4
split-complementary
#9C2EA4 #71A42E #2EA461
monochromatic
#411344 #6F2174 #9C2EA4 #C245CB #D174D8

Accessibility & contrast

On white

6.29
#9C2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9C2EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EA4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EA4#FFFFFF#000000##FFFFFF
##9C2EA41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A7
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#9F4266
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2ea4;
/* rgb */ color: rgb(156, 46, 164);
/* oklch */ color: oklch(51.5% 0.198 325.0);
Tailwind
colors: {
  custom: {
    50: '#bd72bf',
    500: '#9c2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ea4;
$custom-light: #bd72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ea4",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 295.932,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51504,
    "c": 0.19793,
    "h": 325
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#9C2EA4
secondary
#74C06E
accent
#DF4853
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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