#9826A1#9826A1

#9826A1 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.202 H 324.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9826A1
RGBrgb(152, 38, 161)
HSLhsl(296, 62%, 39%)
HSVhsv(296, 76%, 63%)
CMYKcmyk(5.6%, 76.4%, 0%, 36.9%)
CIE-LABlab(38.96, 60.86, -41.86)
CIE-LCHlch(38.96, 73.87, 325.48°)
OKLaboklab(50.05% 0.1652 -0.1167)
OKLCHoklch(50.05% 0.202 324.8)
XYZxyz(20.0745, 10.6361, 34.7069)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826A1 #2FA126
analogous
#5B26A1 #9826A1 #A1266D
triadic
#9826A1 #A19826 #26A198
tetradic
#9826A1 #A15B26 #2FA126 #266DA1
square
#9826A1 #A15B26 #2FA126 #266DA1
split-complementary
#9826A1 #6DA126 #26A15B
monochromatic
#3B0F3E #691A6F #9826A1 #C435CF #D266DB

Accessibility & contrast

On white

6.72
#9826A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9826A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826A1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826A1#FFFFFF#000000##FFFFFF
##9826A11.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#40609E
Tritanopia (blue-blind)
#9B3D62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9826a1;
/* rgb */ color: rgb(152, 38, 161);
/* oklch */ color: oklch(50.0% 0.202 324.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ebd',
    500: '#9826a1',
    950: '#000000',
  },
}
SCSS
$custom: #9826a1;
$custom-light: #ba6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#9826a1",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 295.61,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50049,
    "c": 0.20226,
    "h": 324.8
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#9826A1
secondary
#69C162
accent
#E5434F
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9826A1

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

Preview Lab → · Contrast checker → · Palette generator →

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