#9827AD#9827AD

#9827AD is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.211 H 320.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9827AD
RGBrgb(152, 39, 173)
HSLhsl(291, 63%, 42%)
HSVhsv(291, 77%, 68%)
CMYKcmyk(12.1%, 77.5%, 0%, 32.2%)
CIE-LABlab(39.82, 62.69, -47.66)
CIE-LCHlch(39.82, 78.75, 322.76°)
OKLaboklab(50.9% 0.1634 -0.1336)
OKLCHoklch(50.9% 0.211 320.7)
XYZxyz(21.2163, 11.1447, 40.5607)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9827AD #3CAD27
analogous
#5527AD #9827AD #AD277F
triadic
#9827AD #AD9827 #27AD98
tetradic
#9827AD #AD5527 #3CAD27 #277FAD
square
#9827AD #AD5527 #3CAD27 #277FAD
split-complementary
#9827AD #7FAD27 #27AD55
monochromatic
#401049 #6C1C7B #9827AD #BC3ED3 #CD70DF

Accessibility & contrast

On white

6.50
#9827AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9827AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9827AD#FFFFFF#000000##FFFFFF
##9827AD1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#3662AA
Tritanopia (blue-blind)
#994369
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9827ad;
/* rgb */ color: rgb(152, 39, 173);
/* oklch */ color: oklch(50.9% 0.211 320.7);
Tailwind
colors: {
  custom: {
    50: '#ba6fc6',
    500: '#9827ad',
    950: '#000000',
  },
}
SCSS
$custom: #9827ad;
$custom-light: #ba6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9827ad",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 290.597,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50901,
    "c": 0.21106,
    "h": 320.7
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#9827AD
secondary
#79C66A
accent
#E6425B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9827AD

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

Preview Lab → · Contrast checker → · Palette generator →

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