#9828A0#9828A0

#9828A0 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.199 H 325.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9828A0
RGBrgb(152, 40, 160)
HSLhsl(296, 60%, 39%)
HSVhsv(296, 75%, 63%)
CMYKcmyk(5%, 75%, 0%, 37.3%)
CIE-LABlab(39.13, 60.04, -40.99)
CIE-LCHlch(39.13, 72.70, 325.68°)
OKLaboklab(50.15% 0.1635 -0.1141)
OKLCHoklch(50.15% 0.199 325.1)
XYZxyz(20.0524, 10.7324, 34.2663)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9828A0 #30A028
analogous
#5C28A0 #9828A0 #A0286C
triadic
#9828A0 #A09828 #28A098
tetradic
#9828A0 #A05C28 #30A028 #286CA0
square
#9828A0 #A05C28 #30A028 #286CA0
split-complementary
#9828A0 #6CA028 #28A05C
monochromatic
#3B103E #691C6F #9828A0 #C338CD #D269D9

Accessibility & contrast

On white

6.67
#9828A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9828A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9828A0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9828A0#FFFFFF#000000##FFFFFF
##9828A01.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#41619D
Tritanopia (blue-blind)
#9B3D62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9828a0;
/* rgb */ color: rgb(152, 40, 160);
/* oklch */ color: oklch(50.1% 0.199 325.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ebd',
    500: '#9828a0',
    950: '#000000',
  },
}
SCSS
$custom: #9828a0;
$custom-light: #ba6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#9828a0",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 296,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.19941,
    "h": 325.1
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#9828A0
secondary
#6AC064
accent
#E3454F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9828A0

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

Preview Lab → · Contrast checker → · Palette generator →

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