#9B27AE#9B27AE

#9B27AE is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.213 H 321.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9B27AE
RGBrgb(155, 39, 174)
HSLhsl(292, 63%, 42%)
HSVhsv(292, 78%, 68%)
CMYKcmyk(10.9%, 77.6%, 0%, 31.8%)
CIE-LABlab(40.37, 63.46, -47.35)
CIE-LCHlch(40.37, 79.18, 323.28°)
OKLaboklab(51.41% 0.1668 -0.1326)
OKLCHoklch(51.41% 0.213 321.5)
XYZxyz(21.8822, 11.4768, 41.0988)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B27AE #3AAE27
analogous
#5827AE #9B27AE #AE277D
triadic
#9B27AE #AE9B27 #27AE9B
tetradic
#9B27AE #AE5827 #3AAE27 #277DAE
square
#9B27AE #AE5827 #3AAE27 #277DAE
split-complementary
#9B27AE #7DAE27 #27AE58
monochromatic
#42114A #6E1C7C #9B27AE #BF3ED4 #CF70DF

Accessibility & contrast

On white

6.37
#9B27AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9B27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B27AE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B27AE#FFFFFF#000000##FFFFFF
##9B27AE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b27ae;
/* rgb */ color: rgb(155, 39, 174);
/* oklch */ color: oklch(51.4% 0.213 321.5);
Tailwind
colors: {
  custom: {
    50: '#bd6fc7',
    500: '#9b27ae',
    950: '#000000',
  },
}
SCSS
$custom: #9b27ae;
$custom-light: #bd6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b27ae",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 291.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51406,
    "c": 0.21308,
    "h": 321.5
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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