#9826A6#9826A6

#9826A6 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.206 H 323.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9826A6
RGBrgb(152, 38, 166)
HSLhsl(293, 63%, 40%)
HSVhsv(293, 77%, 65%)
CMYKcmyk(8.4%, 77.1%, 0%, 34.9%)
CIE-LABlab(39.27, 61.74, -44.37)
CIE-LCHlch(39.27, 76.03, 324.30°)
OKLaboklab(50.37% 0.1649 -0.124)
OKLCHoklch(50.37% 0.206 323.1)
XYZxyz(20.5243, 10.8160, 37.0757)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826A6 #34A626
analogous
#5826A6 #9826A6 #A62674
triadic
#9826A6 #A69826 #26A698
tetradic
#9826A6 #A65826 #34A626 #2674A6
square
#9826A6 #A65826 #34A626 #2674A6
split-complementary
#9826A6 #74A626 #26A658
monochromatic
#3D0F42 #6A1B74 #9826A6 #C138D1 #D06ADD

Accessibility & contrast

On white

6.64
#9826A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9826A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826A6
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826A6#FFFFFF#000000##FFFFFF
##9826A61.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#3C61A3
Tritanopia (blue-blind)
#9A3F65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9826a6;
/* rgb */ color: rgb(152, 38, 166);
/* oklch */ color: oklch(50.4% 0.206 323.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ec1',
    500: '#9826a6',
    950: '#000000',
  },
}
SCSS
$custom: #9826a6;
$custom-light: #ba6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9826a6",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 293.438,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.20631,
    "h": 323.1
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#9826A6
secondary
#6FC365
accent
#E64254
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9826A6

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

Preview Lab → · Contrast checker → · Palette generator →

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