#9C27C2#9C27C2

#9C27C2 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.9% C 0.230 H 315.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9C27C2
RGBrgb(156, 39, 194)
HSLhsl(285, 67%, 46%)
HSVhsv(285, 80%, 76%)
CMYKcmyk(19.6%, 79.9%, 0%, 23.9%)
CIE-LABlab(41.87, 67.35, -56.71)
CIE-LCHlch(41.87, 88.05, 319.90°)
OKLaboklab(52.92% 0.1651 -0.16)
OKLCHoklch(52.92% 0.23 315.9)
XYZxyz(24.1719, 12.4150, 52.1515)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C27C2 #4DC227
analogous
#4E27C2 #9C27C2 #C2279B
triadic
#9C27C2 #C29C27 #27C29C
tetradic
#9C27C2 #C24E27 #4DC227 #279BC2
square
#9C27C2 #C24E27 #4DC227 #279BC2
split-complementary
#9C27C2 #9BC227 #27C24E
monochromatic
#4A135C #731D8F #9C27C2 #B84BDB #CC7EE5

Accessibility & contrast

On white

6.03
#9C27C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9C27C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C27C2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C27C2#FFFFFF#000000##FFFFFF
##9C27C21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#2366BF
Tritanopia (blue-blind)
#994C76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c27c2;
/* rgb */ color: rgb(156, 39, 194);
/* oklch */ color: oklch(52.9% 0.230 315.9);
Tailwind
colors: {
  custom: {
    50: '#be70d5',
    500: '#9c27c2',
    950: '#000000',
  },
}
SCSS
$custom: #9c27c2;
$custom-light: #be70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c27c2",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 194
  },
  "hsl": {
    "h": 285.29,
    "s": 66.524,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.22995,
    "h": 315.9
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#9C27C2
secondary
#8CCE77
accent
#E93E68
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9C27C2

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

Preview Lab → · Contrast checker → · Palette generator →

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