#9C27CA#9C27CA

#9C27CA is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.5% C 0.237 H 313.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9C27CA
RGBrgb(156, 39, 202)
HSLhsl(283, 68%, 47%)
HSVhsv(283, 81%, 79%)
CMYKcmyk(22.8%, 80.7%, 0%, 20.8%)
CIE-LABlab(42.44, 68.88, -60.45)
CIE-LCHlch(42.44, 91.64, 318.73°)
OKLaboklab(53.49% 0.1636 -0.171)
OKLCHoklch(53.49% 0.237 313.7)
XYZxyz(25.0946, 12.7841, 57.0113)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C27CA #55CA27
analogous
#4A27CA #9C27CA #CA27A7
triadic
#9C27CA #CA9C27 #27CA9C
tetradic
#9C27CA #CA4A27 #55CA27 #27A7CA
square
#9C27CA #CA4A27 #55CA27 #27A7CA
split-complementary
#9C27CA #A7CA27 #27CA4A
monochromatic
#4D1363 #741D97 #9C27CA #B651DD #CB84E7

Accessibility & contrast

On white

5.90
#9C27CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9C27CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C27CA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C27CA#FFFFFF#000000##FFFFFF
##9C27CA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0F67C7
Tritanopia (blue-blind)
#97507A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c27ca;
/* rgb */ color: rgb(156, 39, 202);
/* oklch */ color: oklch(53.5% 0.237 313.7);
Tailwind
colors: {
  custom: {
    50: '#be70db',
    500: '#9c27ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c27ca;
$custom-light: #be70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c27ca",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 283.067,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.23664,
    "h": 313.7
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#9C27CA
secondary
#94D07C
accent
#EB3D6E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C27CA

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

Preview Lab → · Contrast checker → · Palette generator →

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