#9C27D0#9C27D0

#9C27D0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.9% C 0.242 H 312.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9C27D0
RGBrgb(156, 39, 208)
HSLhsl(282, 68%, 48%)
HSVhsv(282, 81%, 82%)
CMYKcmyk(25%, 81.3%, 0%, 18.4%)
CIE-LABlab(42.87, 70.05, -63.21)
CIE-LCHlch(42.87, 94.35, 317.94°)
OKLaboklab(53.94% 0.1623 -0.1791)
OKLCHoklch(53.94% 0.242 312.2)
XYZxyz(25.8189, 13.0738, 60.8257)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C27D0 #5BD027
analogous
#4727D0 #9C27D0 #D027AF
triadic
#9C27D0 #D09C27 #27D09C
tetradic
#9C27D0 #D04727 #5BD027 #27AFD0
square
#9C27D0 #D04727 #5BD027 #27AFD0
split-complementary
#9C27D0 #AFD027 #27D047
monochromatic
#4F1469 #751D9C #9C27D0 #B555DF #CB89E9

Accessibility & contrast

On white

5.81
#9C27D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9C27D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C27D0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C27D0#FFFFFF#000000##FFFFFF
##9C27D01.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#96537E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c27d0;
/* rgb */ color: rgb(156, 39, 208);
/* oklch */ color: oklch(53.9% 0.242 312.2);
Tailwind
colors: {
  custom: {
    50: '#bf71df',
    500: '#9c27d0',
    950: '#000000',
  },
}
SCSS
$custom: #9c27d0;
$custom-light: #bf71df;
$custom-dark: #000000;
JSON
{
  "hex": "#9c27d0",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 281.538,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.24169,
    "h": 312.2
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#9C27D0
secondary
#9AD280
accent
#EB3D72
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C27D0

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

Preview Lab → · Contrast checker → · Palette generator →

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