#9828AD#9828AD

#9828AD is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.210 H 320.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9828AD
RGBrgb(152, 40, 173)
HSLhsl(291, 62%, 42%)
HSVhsv(291, 77%, 68%)
CMYKcmyk(12.1%, 76.9%, 0%, 32.2%)
CIE-LABlab(39.93, 62.37, -47.48)
CIE-LCHlch(39.93, 78.39, 322.72°)
OKLaboklab(50.98% 0.1625 -0.1331)
OKLCHoklch(50.98% 0.21 320.7)
XYZxyz(21.2496, 11.2113, 40.5718)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9828AD #3DAD28
analogous
#5628AD #9828AD #AD2880
triadic
#9828AD #AD9828 #28AD98
tetradic
#9828AD #AD5628 #3DAD28 #2880AD
square
#9828AD #AD5628 #3DAD28 #2880AD
split-complementary
#9828AD #80AD28 #28AD56
monochromatic
#41114A #6C1D7B #9828AD #BB3FD3 #CD71DE

Accessibility & contrast

On white

6.48
#9828AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9828AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9828AD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9828AD#FFFFFF#000000##FFFFFF
##9828AD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#3762AA
Tritanopia (blue-blind)
#99436A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9828ad;
/* rgb */ color: rgb(152, 40, 173);
/* oklch */ color: oklch(51.0% 0.210 320.7);
Tailwind
colors: {
  custom: {
    50: '#ba6fc6',
    500: '#9828ad',
    950: '#000000',
  },
}
SCSS
$custom: #9828ad;
$custom-light: #ba6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9828ad",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 290.526,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.21007,
    "h": 320.7
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#9828AD
secondary
#7AC56C
accent
#E6425C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9828AD

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

Preview Lab → · Contrast checker → · Palette generator →

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