#9C27AA#9C27AA

#9C27AA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.210 H 323.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9C27AA
RGBrgb(156, 39, 170)
HSLhsl(294, 63%, 41%)
HSVhsv(294, 77%, 67%)
CMYKcmyk(8.2%, 77.1%, 0%, 33.3%)
CIE-LABlab(40.28, 62.95, -45.10)
CIE-LCHlch(40.28, 77.44, 324.38°)
OKLaboklab(51.29% 0.1683 -0.126)
OKLCHoklch(51.29% 0.21 323.2)
XYZxyz(21.6908, 11.4226, 39.0847)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C27AA #35AA27
analogous
#5A27AA #9C27AA #AA2776
triadic
#9C27AA #AA9C27 #27AA9C
tetradic
#9C27AA #AA5A27 #35AA27 #2776AA
square
#9C27AA #AA5A27 #35AA27 #2776AA
split-complementary
#9C27AA #76AA27 #27AA5A
monochromatic
#411046 #6E1C78 #9C27AA #C23CD2 #D26EDE

Accessibility & contrast

On white

6.39
#9C27AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C27AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C27AA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C27AA#FFFFFF#000000##FFFFFF
##9C27AA1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#3E63A7
Tritanopia (blue-blind)
#9E4168
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c27aa;
/* rgb */ color: rgb(156, 39, 170);
/* oklch */ color: oklch(51.3% 0.210 323.2);
Tailwind
colors: {
  custom: {
    50: '#bd6fc4',
    500: '#9c27aa',
    950: '#000000',
  },
}
SCSS
$custom: #9c27aa;
$custom-light: #bd6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c27aa",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 293.588,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.21025,
    "h": 323.2
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#9C27AA
secondary
#72C469
accent
#E64254
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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