#9826AD#9826AD

#9826AD is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.212 H 320.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9826AD
RGBrgb(152, 38, 173)
HSLhsl(291, 64%, 41%)
HSVhsv(291, 78%, 68%)
CMYKcmyk(12.1%, 78%, 0%, 32.2%)
CIE-LABlab(39.71, 63.00, -47.83)
CIE-LCHlch(39.71, 79.10, 322.79°)
OKLaboklab(50.83% 0.1642 -0.1341)
OKLCHoklch(50.83% 0.212 320.8)
XYZxyz(21.1839, 11.0799, 40.5499)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826AD #3BAD26
analogous
#5526AD #9826AD #AD267F
triadic
#9826AD #AD9826 #26AD98
tetradic
#9826AD #AD5526 #3BAD26 #267FAD
square
#9826AD #AD5526 #3BAD26 #267FAD
split-complementary
#9826AD #7FAD26 #26AD55
monochromatic
#401049 #6C1B7B #9826AD #BD3CD4 #CE6EDF

Accessibility & contrast

On white

6.53
#9826AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9826AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826AD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826AD#FFFFFF#000000##FFFFFF
##9826AD1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#3661AA
Tritanopia (blue-blind)
#994269
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9826ad;
/* rgb */ color: rgb(152, 38, 173);
/* oklch */ color: oklch(50.8% 0.212 320.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ec6',
    500: '#9826ad',
    950: '#000000',
  },
}
SCSS
$custom: #9826ad;
$custom-light: #ba6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#9826ad",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 290.667,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50825,
    "c": 0.21202,
    "h": 320.8
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#9826AD
secondary
#77C669
accent
#E7415B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9826AD

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

Preview Lab → · Contrast checker → · Palette generator →

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