#9826A9#9826A9

#9826A9 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.209 H 322.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9826A9
RGBrgb(152, 38, 169)
HSLhsl(292, 63%, 41%)
HSVhsv(292, 78%, 66%)
CMYKcmyk(10.1%, 77.5%, 0%, 33.7%)
CIE-LABlab(39.46, 62.28, -45.86)
CIE-LCHlch(39.46, 77.34, 323.63°)
OKLaboklab(50.56% 0.1646 -0.1283)
OKLCHoklch(50.56% 0.209 322.1)
XYZxyz(20.8027, 10.9274, 38.5419)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826A9 #37A926
analogous
#5726A9 #9826A9 #A92678
triadic
#9826A9 #A99826 #26A998
tetradic
#9826A9 #A95726 #37A926 #2678A9
square
#9826A9 #A95726 #37A926 #2678A9
split-complementary
#9826A9 #78A926 #26A957
monochromatic
#3E1045 #6B1B77 #9826A9 #BF3AD3 #CF6CDE

Accessibility & contrast

On white

6.59
#9826A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9826A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826A9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826A9#FFFFFF#000000##FFFFFF
##9826A91.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#3961A6
Tritanopia (blue-blind)
#9A4067
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9826a9;
/* rgb */ color: rgb(152, 38, 169);
/* oklch */ color: oklch(50.6% 0.209 322.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ec3',
    500: '#9826a9',
    950: '#000000',
  },
}
SCSS
$custom: #9826a9;
$custom-light: #ba6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#9826a9",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 292.214,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.20874,
    "h": 322.1
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#9826A9
secondary
#73C467
accent
#E64157
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9826A9

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

Preview Lab → · Contrast checker → · Palette generator →

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