#9A27AE#9A27AE

#9A27AE is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.213 H 321.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9A27AE
RGBrgb(154, 39, 174)
HSLhsl(291, 63%, 42%)
HSVhsv(291, 78%, 68%)
CMYKcmyk(11.5%, 77.6%, 0%, 31.8%)
CIE-LABlab(40.21, 63.27, -47.61)
CIE-LCHlch(40.21, 79.18, 323.03°)
OKLaboklab(51.26% 0.1656 -0.1334)
OKLCHoklch(51.26% 0.213 321.1)
XYZxyz(21.6911, 11.3783, 41.0899)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A27AE #3BAE27
analogous
#5727AE #9A27AE #AE277F
triadic
#9A27AE #AE9A27 #27AE9A
tetradic
#9A27AE #AE5727 #3BAE27 #277FAE
square
#9A27AE #AE5727 #3BAE27 #277FAE
split-complementary
#9A27AE #7FAE27 #27AE57
monochromatic
#42114A #6E1C7C #9A27AE #BE3ED4 #CF70DF

Accessibility & contrast

On white

6.41
#9A27AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9A27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A27AE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A27AE#FFFFFF#000000##FFFFFF
##9A27AE1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#3863AB
Tritanopia (blue-blind)
#9B436A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a27ae;
/* rgb */ color: rgb(154, 39, 174);
/* oklch */ color: oklch(51.3% 0.213 321.1);
Tailwind
colors: {
  custom: {
    50: '#bc6fc7',
    500: '#9a27ae',
    950: '#000000',
  },
}
SCSS
$custom: #9a27ae;
$custom-light: #bc6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a27ae",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 291.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51259,
    "c": 0.21267,
    "h": 321.1
  },
  "luminance": 0.11377
}

Semantic roles & 50–950 ramp

primary
#9A27AE
secondary
#78C66B
accent
#E6415A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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