#9C2AC4#9C2AC4

#9C2AC4 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.229 H 315.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9C2AC4
RGBrgb(156, 42, 196)
HSLhsl(284, 65%, 47%)
HSVhsv(284, 79%, 77%)
CMYKcmyk(20.4%, 78.6%, 0%, 23.1%)
CIE-LABlab(42.32, 66.82, -57.14)
CIE-LCHlch(42.32, 87.92, 319.46°)
OKLaboklab(53.28% 0.1625 -0.1613)
OKLCHoklch(53.28% 0.229 315.2)
XYZxyz(24.5004, 12.7103, 53.3766)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AC4 #52C42A
analogous
#4F2AC4 #9C2AC4 #C42A9F
triadic
#9C2AC4 #C49C2A #2AC49C
tetradic
#9C2AC4 #C44F2A #52C42A #2A9FC4
square
#9C2AC4 #C44F2A #52C42A #2A9FC4
split-complementary
#9C2AC4 #9FC42A #2AC44F
monochromatic
#4C145F #741F92 #9C2AC4 #B651DA #CB84E5

Accessibility & contrast

On white

5.93
#9C2AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9C2AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AC4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AC4#FFFFFF#000000##FFFFFF
##9C2AC41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#2267C1
Tritanopia (blue-blind)
#994E77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2ac4;
/* rgb */ color: rgb(156, 42, 196);
/* oklch */ color: oklch(53.3% 0.229 315.2);
Tailwind
colors: {
  custom: {
    50: '#be71d7',
    500: '#9c2ac4',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ac4;
$custom-light: #be71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ac4",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 284.416,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.22896,
    "h": 315.2
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#9C2AC4
secondary
#91CE7C
accent
#E8406C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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