#9E27AA#9E27AA

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

Color values

HEX#9E27AA
RGBrgb(158, 39, 170)
HSLhsl(295, 63%, 41%)
HSVhsv(295, 77%, 67%)
CMYKcmyk(7.1%, 77.1%, 0%, 33.3%)
CIE-LABlab(40.61, 63.36, -44.55)
CIE-LCHlch(40.61, 77.45, 324.88°)
OKLaboklab(51.59% 0.1706 -0.1244)
OKLCHoklch(51.59% 0.211 323.9)
XYZxyz(22.0811, 11.6238, 39.1030)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E27AA #33AA27
analogous
#5C27AA #9E27AA #AA2774
triadic
#9E27AA #AA9E27 #27AA9E
tetradic
#9E27AA #AA5C27 #33AA27 #2774AA
square
#9E27AA #AA5C27 #33AA27 #2774AA
split-complementary
#9E27AA #74AA27 #27AA5C
monochromatic
#411046 #701C78 #9E27AA #C43CD2 #D36EDE

Accessibility & contrast

On white

6.32
#9E27AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E27AA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E27AA#FFFFFF#000000##FFFFFF
##9E27AA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#4064A7
Tritanopia (blue-blind)
#A14068
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e27aa;
/* rgb */ color: rgb(158, 39, 170);
/* oklch */ color: oklch(51.6% 0.211 323.9);
Tailwind
colors: {
  custom: {
    50: '#bf6fc4',
    500: '#9e27aa',
    950: '#000000',
  },
}
SCSS
$custom: #9e27aa;
$custom-light: #bf6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e27aa",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 294.504,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.21109,
    "h": 323.9
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#9E27AA
secondary
#71C469
accent
#E64251
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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