#9827A5#9827A5

#9827A5 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.204 H 323.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9827A5
RGBrgb(152, 39, 165)
HSLhsl(294, 62%, 40%)
HSVhsv(294, 76%, 65%)
CMYKcmyk(7.9%, 76.4%, 0%, 35.3%)
CIE-LABlab(39.32, 61.25, -43.69)
CIE-LCHlch(39.32, 75.24, 324.50°)
OKLaboklab(50.38% 0.1641 -0.122)
OKLCHoklch(50.38% 0.204 323.4)
XYZxyz(20.4653, 10.8443, 36.6052)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9827A5 #34A527
analogous
#5927A5 #9827A5 #A52773
triadic
#9827A5 #A59827 #27A598
tetradic
#9827A5 #A55927 #34A527 #2773A5
square
#9827A5 #A55927 #34A527 #2773A5
split-complementary
#9827A5 #73A527 #27A559
monochromatic
#3D1042 #6A1B74 #9827A5 #C139D0 #D06ADC

Accessibility & contrast

On white

6.63
#9827A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9827A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9827A5#FFFFFF#000000##FFFFFF
##9827A51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#9A3F65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9827a5;
/* rgb */ color: rgb(152, 39, 165);
/* oklch */ color: oklch(50.4% 0.204 323.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ec0',
    500: '#9827a5',
    950: '#000000',
  },
}
SCSS
$custom: #9827a5;
$custom-light: #ba6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9827a5",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 293.81,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50381,
    "c": 0.20449,
    "h": 323.4
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#9827A5
secondary
#6FC266
accent
#E54354
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9827A5

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

Preview Lab → · Contrast checker → · Palette generator →

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