#9826B1#9826B1

#9826B1 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.215 H 319.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9826B1
RGBrgb(152, 38, 177)
HSLhsl(289, 65%, 42%)
HSVhsv(289, 79%, 69%)
CMYKcmyk(14.1%, 78.5%, 0%, 30.6%)
CIE-LABlab(39.98, 63.73, -49.79)
CIE-LCHlch(39.98, 80.88, 322.00°)
OKLaboklab(51.09% 0.1637 -0.1399)
OKLCHoklch(51.09% 0.215 319.5)
XYZxyz(21.5768, 11.2370, 42.6189)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826B1 #3FB126
analogous
#5326B1 #9826B1 #B12684
triadic
#9826B1 #B19826 #26B198
tetradic
#9826B1 #B15326 #3FB126 #2684B1
square
#9826B1 #B15326 #3FB126 #2684B1
split-complementary
#9826B1 #84B126 #26B153
monochromatic
#41104C #6D1B7F #9826B1 #BA3FD6 #CC71E0

Accessibility & contrast

On white

6.47
#9826B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9826B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826B1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826B1#FFFFFF#000000##FFFFFF
##9826B11.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#98446C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9826b1;
/* rgb */ color: rgb(152, 38, 177);
/* oklch */ color: oklch(51.1% 0.215 319.5);
Tailwind
colors: {
  custom: {
    50: '#bb6ec9',
    500: '#9826b1',
    950: '#000000',
  },
}
SCSS
$custom: #9826b1;
$custom-light: #bb6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9826b1",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 289.209,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.21532,
    "h": 319.5
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#9826B1
secondary
#7CC76B
accent
#E8405E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9826B1

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

Preview Lab → · Contrast checker → · Palette generator →

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