#9826AB#9826AB

#9826AB is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.210 H 321.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9826AB
RGBrgb(152, 38, 171)
HSLhsl(291, 64%, 41%)
HSVhsv(291, 78%, 67%)
CMYKcmyk(11.1%, 77.8%, 0%, 32.9%)
CIE-LABlab(39.59, 62.64, -46.85)
CIE-LCHlch(39.59, 78.22, 323.21°)
OKLaboklab(50.69% 0.1644 -0.1312)
OKLCHoklch(50.69% 0.21 321.4)
XYZxyz(20.9919, 11.0031, 39.5383)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826AB #39AB26
analogous
#5626AB #9826AB #AB267B
triadic
#9826AB #AB9826 #26AB98
tetradic
#9826AB #AB5626 #39AB26 #267BAB
square
#9826AB #AB5626 #39AB26 #267BAB
split-complementary
#9826AB #7BAB26 #26AB56
monochromatic
#3F1047 #6B1B79 #9826AB #BE3BD3 #CE6DDF

Accessibility & contrast

On white

6.56
#9826AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9826AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826AB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826AB#FFFFFF#000000##FFFFFF
##9826AB1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#3861A8
Tritanopia (blue-blind)
#994168
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9826ab;
/* rgb */ color: rgb(152, 38, 171);
/* oklch */ color: oklch(50.7% 0.210 321.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ec5',
    500: '#9826ab',
    950: '#000000',
  },
}
SCSS
$custom: #9826ab;
$custom-light: #ba6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9826ab",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 291.429,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.21038,
    "h": 321.4
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#9826AB
secondary
#75C568
accent
#E74159
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9826AB

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

Preview Lab → · Contrast checker → · Palette generator →

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