#9827AA#9827AA

#9827AA is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.209 H 321.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9827AA
RGBrgb(152, 39, 170)
HSLhsl(292, 63%, 41%)
HSVhsv(292, 77%, 67%)
CMYKcmyk(10.6%, 77.1%, 0%, 33.3%)
CIE-LABlab(39.63, 62.14, -46.18)
CIE-LCHlch(39.63, 77.42, 323.38°)
OKLaboklab(50.7% 0.1637 -0.1293)
OKLCHoklch(50.7% 0.209 321.7)
XYZxyz(20.9293, 11.0299, 39.0490)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9827AA #39AA27
analogous
#5627AA #9827AA #AA277A
triadic
#9827AA #AA9827 #27AA98
tetradic
#9827AA #AA5627 #39AA27 #277AAA
square
#9827AA #AA5627 #39AA27 #277AAA
split-complementary
#9827AA #7AAA27 #27AA56
monochromatic
#3F1046 #6B1C78 #9827AA #BE3CD2 #CE6EDE

Accessibility & contrast

On white

6.55
#9827AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9827AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9827AA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9827AA#FFFFFF#000000##FFFFFF
##9827AA1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#3961A7
Tritanopia (blue-blind)
#994168
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9827aa;
/* rgb */ color: rgb(152, 39, 170);
/* oklch */ color: oklch(50.7% 0.209 321.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ec4',
    500: '#9827aa',
    950: '#000000',
  },
}
SCSS
$custom: #9827aa;
$custom-light: #ba6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#9827aa",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 291.756,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50704,
    "c": 0.20859,
    "h": 321.7
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#9827AA
secondary
#75C469
accent
#E64259
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9827AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9827AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva