#9827A6#9827A6

#9827A6 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.205 H 323.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9827A6
RGBrgb(152, 39, 166)
HSLhsl(293, 62%, 40%)
HSVhsv(293, 77%, 65%)
CMYKcmyk(8.4%, 76.5%, 0%, 34.9%)
CIE-LABlab(39.38, 61.43, -44.19)
CIE-LCHlch(39.38, 75.67, 324.27°)
OKLaboklab(50.44% 0.164 -0.1235)
OKLCHoklch(50.44% 0.205 323)
XYZxyz(20.5567, 10.8809, 37.0865)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9827A6 #35A627
analogous
#5927A6 #9827A6 #A62774
triadic
#9827A6 #A69827 #27A698
tetradic
#9827A6 #A65927 #35A627 #2774A6
square
#9827A6 #A65927 #35A627 #2774A6
split-complementary
#9827A6 #74A627 #27A659
monochromatic
#3D1043 #6B1B74 #9827A6 #C03AD1 #D06BDC

Accessibility & contrast

On white

6.61
#9827A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9827A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9827A6#FFFFFF#000000##FFFFFF
##9827A61.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#3C61A3
Tritanopia (blue-blind)
#9A4065
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9827a6;
/* rgb */ color: rgb(152, 39, 166);
/* oklch */ color: oklch(50.4% 0.205 323.0);
Tailwind
colors: {
  custom: {
    50: '#ba6ec1',
    500: '#9827a6',
    950: '#000000',
  },
}
SCSS
$custom: #9827a6;
$custom-light: #ba6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9827a6",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 293.386,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.2053,
    "h": 323
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#9827A6
secondary
#70C366
accent
#E54355
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9827A6

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

Preview Lab → · Contrast checker → · Palette generator →

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