#9826A5#9826A5

#9826A5 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.205 H 323.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9826A5
RGBrgb(152, 38, 165)
HSLhsl(294, 63%, 40%)
HSVhsv(294, 77%, 65%)
CMYKcmyk(7.9%, 77%, 0%, 35.3%)
CIE-LABlab(39.21, 61.57, -43.87)
CIE-LCHlch(39.21, 75.60, 324.53°)
OKLaboklab(50.3% 0.165 -0.1225)
OKLCHoklch(50.3% 0.206 323.4)
XYZxyz(20.4329, 10.7795, 36.5944)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826A5 #33A526
analogous
#5826A5 #9826A5 #A52673
triadic
#9826A5 #A59826 #26A598
tetradic
#9826A5 #A55826 #33A526 #2673A5
square
#9826A5 #A55826 #33A526 #2673A5
split-complementary
#9826A5 #73A526 #26A558
monochromatic
#3C0F42 #6A1B73 #9826A5 #C137D1 #D169DC

Accessibility & contrast

On white

6.65
#9826A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9826A5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826A5#FFFFFF#000000##FFFFFF
##9826A51.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#9B3F65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9826a5;
/* rgb */ color: rgb(152, 38, 165);
/* oklch */ color: oklch(50.3% 0.205 323.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ec0',
    500: '#9826a5',
    950: '#000000',
  },
}
SCSS
$custom: #9826a5;
$custom-light: #ba6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9826a5",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 293.858,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.2055,
    "h": 323.4
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#9826A5
secondary
#6EC364
accent
#E64253
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9826A5

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

Preview Lab → · Contrast checker → · Palette generator →

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