#9826BA#9826BA

#9826BA is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.223 H 316.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9826BA
RGBrgb(152, 38, 186)
HSLhsl(286, 66%, 44%)
HSVhsv(286, 80%, 73%)
CMYKcmyk(18.3%, 79.6%, 0%, 27.1%)
CIE-LABlab(40.59, 65.42, -54.12)
CIE-LCHlch(40.59, 84.90, 320.40°)
OKLaboklab(51.72% 0.1624 -0.1526)
OKLCHoklch(51.72% 0.223 316.8)
XYZxyz(22.5036, 11.6078, 47.5000)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826BA #48BA26
analogous
#4E26BA #9826BA #BA2692
triadic
#9826BA #BA9826 #26BA98
tetradic
#9826BA #BA4E26 #48BA26 #2692BA
square
#9826BA #BA4E26 #48BA26 #2692BA
split-complementary
#9826BA #92BA26 #26BA4E
monochromatic
#451154 #6E1C87 #9826BA #B744D9 #CA77E3

Accessibility & contrast

On white

6.32
#9826BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9826BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826BA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826BA#FFFFFF#000000##FFFFFF
##9826BA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#964971
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9826ba;
/* rgb */ color: rgb(152, 38, 186);
/* oklch */ color: oklch(51.7% 0.223 316.8);
Tailwind
colors: {
  custom: {
    50: '#bb6fcf',
    500: '#9826ba',
    950: '#000000',
  },
}
SCSS
$custom: #9826ba;
$custom-light: #bb6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9826ba",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 286.216,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.2228,
    "h": 316.8
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#9826BA
secondary
#86CB71
accent
#E93F66
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9826BA

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

Preview Lab → · Contrast checker → · Palette generator →

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