#9826AE#9826AE

#9826AE is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.213 H 320.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9826AE
RGBrgb(152, 38, 174)
HSLhsl(290, 64%, 42%)
HSVhsv(290, 78%, 68%)
CMYKcmyk(12.6%, 78.2%, 0%, 31.8%)
CIE-LABlab(39.78, 63.18, -48.32)
CIE-LCHlch(39.78, 79.54, 322.59°)
OKLaboklab(50.89% 0.1641 -0.1356)
OKLCHoklch(50.89% 0.213 320.4)
XYZxyz(21.2811, 11.1188, 41.0614)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826AE #3CAE26
analogous
#5426AE #9826AE #AE2680
triadic
#9826AE #AE9826 #26AE98
tetradic
#9826AE #AE5426 #3CAE26 #2680AE
square
#9826AE #AE5426 #3CAE26 #2680AE
split-complementary
#9826AE #80AE26 #26AE54
monochromatic
#40104A #6C1B7C #9826AE #BC3DD5 #CD6FE0

Accessibility & contrast

On white

6.51
#9826AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9826AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826AE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826AE#FFFFFF#000000##FFFFFF
##9826AE1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#99436A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9826ae;
/* rgb */ color: rgb(152, 38, 174);
/* oklch */ color: oklch(50.9% 0.213 320.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ec7',
    500: '#9826ae',
    950: '#000000',
  },
}
SCSS
$custom: #9826ae;
$custom-light: #ba6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9826ae",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 290.294,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.21285,
    "h": 320.4
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#9826AE
secondary
#79C66A
accent
#E7415C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9826AE

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

Preview Lab → · Contrast checker → · Palette generator →

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