#9827A8#9827A8

#9827A8 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.207 H 322.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9827A8
RGBrgb(152, 39, 168)
HSLhsl(293, 62%, 41%)
HSVhsv(293, 77%, 66%)
CMYKcmyk(9.5%, 76.8%, 0%, 34.1%)
CIE-LABlab(39.50, 61.78, -45.19)
CIE-LCHlch(39.50, 76.55, 323.82°)
OKLaboklab(50.57% 0.1639 -0.1264)
OKLCHoklch(50.57% 0.207 322.4)
XYZxyz(20.7416, 10.9548, 38.0602)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9827A8 #37A827
analogous
#5727A8 #9827A8 #A82777
triadic
#9827A8 #A89827 #27A898
tetradic
#9827A8 #A85727 #37A827 #2777A8
square
#9827A8 #A85727 #37A827 #2777A8
split-complementary
#9827A8 #77A827 #27A857
monochromatic
#3E1045 #6B1B76 #9827A8 #BF3BD1 #CF6CDD

Accessibility & contrast

On white

6.58
#9827A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9827A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9827A8#FFFFFF#000000##FFFFFF
##9827A81.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#3B61A5
Tritanopia (blue-blind)
#9A4067
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9827a8;
/* rgb */ color: rgb(152, 39, 168);
/* oklch */ color: oklch(50.6% 0.207 322.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ec2',
    500: '#9827a8',
    950: '#000000',
  },
}
SCSS
$custom: #9827a8;
$custom-light: #ba6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9827a8",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 292.558,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50573,
    "c": 0.20695,
    "h": 322.4
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#9827A8
secondary
#73C367
accent
#E54257
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9827A8

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

Preview Lab → · Contrast checker → · Palette generator →

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