#9C27AE#9C27AE

#9C27AE is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.213 H 321.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9C27AE
RGBrgb(156, 39, 174)
HSLhsl(292, 63%, 42%)
HSVhsv(292, 78%, 68%)
CMYKcmyk(10.3%, 77.6%, 0%, 31.8%)
CIE-LABlab(40.53, 63.66, -47.08)
CIE-LCHlch(40.53, 79.18, 323.52°)
OKLaboklab(51.55% 0.1679 -0.1318)
OKLCHoklch(51.55% 0.213 321.9)
XYZxyz(22.0750, 11.5762, 41.1079)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C27AE #39AE27
analogous
#5927AE #9C27AE #AE277D
triadic
#9C27AE #AE9C27 #27AE9C
tetradic
#9C27AE #AE5927 #39AE27 #277DAE
square
#9C27AE #AE5927 #39AE27 #277DAE
split-complementary
#9C27AE #7DAE27 #27AE59
monochromatic
#42114A #6F1C7C #9C27AE #C03ED4 #D070DF

Accessibility & contrast

On white

6.33
#9C27AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9C27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C27AE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C27AE#FFFFFF#000000##FFFFFF
##9C27AE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#3B64AB
Tritanopia (blue-blind)
#9E426A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c27ae;
/* rgb */ color: rgb(156, 39, 174);
/* oklch */ color: oklch(51.6% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#bd6fc7',
    500: '#9c27ae',
    950: '#000000',
  },
}
SCSS
$custom: #9c27ae;
$custom-light: #bd6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c27ae",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 292,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.21348,
    "h": 321.9
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#9C27AE
secondary
#77C66B
accent
#E64157
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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