#9827AE#9827AE

#9827AE is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.212 H 320.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9827AE
RGBrgb(152, 39, 174)
HSLhsl(290, 63%, 42%)
HSVhsv(290, 78%, 68%)
CMYKcmyk(12.6%, 77.6%, 0%, 31.8%)
CIE-LABlab(39.89, 62.87, -48.15)
CIE-LCHlch(39.89, 79.19, 322.55°)
OKLaboklab(50.97% 0.1633 -0.1351)
OKLCHoklch(50.97% 0.212 320.4)
XYZxyz(21.3135, 11.1836, 41.0722)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9827AE #3DAE27
analogous
#5527AE #9827AE #AE2781
triadic
#9827AE #AE9827 #27AE98
tetradic
#9827AE #AE5527 #3DAE27 #2781AE
square
#9827AE #AE5527 #3DAE27 #2781AE
split-complementary
#9827AE #81AE27 #27AE55
monochromatic
#41114A #6C1C7C #9827AE #BB3ED4 #CD70DF

Accessibility & contrast

On white

6.49
#9827AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9827AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9827AE#FFFFFF#000000##FFFFFF
##9827AE1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#3662AB
Tritanopia (blue-blind)
#99436A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9827ae;
/* rgb */ color: rgb(152, 39, 174);
/* oklch */ color: oklch(51.0% 0.212 320.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fc7',
    500: '#9827ae',
    950: '#000000',
  },
}
SCSS
$custom: #9827ae;
$custom-light: #ba6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9827ae",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 290.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.21188,
    "h": 320.4
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#9827AE
secondary
#7AC66B
accent
#E6415C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9827AE

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

Preview Lab → · Contrast checker → · Palette generator →

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