#9828A9#9828A9

#9828A9 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.207 H 322.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9828A9
RGBrgb(152, 40, 169)
HSLhsl(292, 62%, 41%)
HSVhsv(292, 76%, 66%)
CMYKcmyk(10.1%, 76.3%, 0%, 33.7%)
CIE-LABlab(39.68, 61.64, -45.51)
CIE-LCHlch(39.68, 76.62, 323.56°)
OKLaboklab(50.72% 0.1629 -0.1273)
OKLCHoklch(50.72% 0.207 322)
XYZxyz(20.8684, 11.0588, 38.5638)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9828A9 #39A928
analogous
#5728A9 #9828A9 #A92879
triadic
#9828A9 #A99828 #28A998
tetradic
#9828A9 #A95728 #39A928 #2879A9
square
#9828A9 #A95728 #39A928 #2879A9
split-complementary
#9828A9 #79A928 #28A957
monochromatic
#3F1146 #6B1C78 #9828A9 #BE3DD1 #CE6FDD

Accessibility & contrast

On white

6.54
#9828A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9828A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9828A9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9828A9#FFFFFF#000000##FFFFFF
##9828A91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#9A4267
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9828a9;
/* rgb */ color: rgb(152, 40, 169);
/* oklch */ color: oklch(50.7% 0.207 322.0);
Tailwind
colors: {
  custom: {
    50: '#ba6fc3',
    500: '#9828a9',
    950: '#000000',
  },
}
SCSS
$custom: #9828a9;
$custom-light: #ba6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9828a9",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 292.093,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.20676,
    "h": 322
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#9828A9
secondary
#75C469
accent
#E54358
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9828A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9828A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva