#9826B0#9826B0

#9826B0 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.214 H 319.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9826B0
RGBrgb(152, 38, 176)
HSLhsl(290, 64%, 42%)
HSVhsv(290, 78%, 69%)
CMYKcmyk(13.6%, 78.4%, 0%, 31%)
CIE-LABlab(39.91, 63.55, -49.30)
CIE-LCHlch(39.91, 80.43, 322.20°)
OKLaboklab(51.03% 0.1638 -0.1384)
OKLCHoklch(51.03% 0.214 319.8)
XYZxyz(21.4775, 11.1973, 42.0959)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826B0 #3EB026
analogous
#5326B0 #9826B0 #B02683
triadic
#9826B0 #B09826 #26B098
tetradic
#9826B0 #B05326 #3EB026 #2683B0
square
#9826B0 #B05326 #3EB026 #2683B0
split-complementary
#9826B0 #83B026 #26B053
monochromatic
#41104B #6D1B7E #9826B0 #BB3ED5 #CD70E0

Accessibility & contrast

On white

6.48
#9826B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9826B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826B0
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826B0#FFFFFF#000000##FFFFFF
##9826B01.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#3362AD
Tritanopia (blue-blind)
#98446B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9826b0;
/* rgb */ color: rgb(152, 38, 176);
/* oklch */ color: oklch(51.0% 0.214 319.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ec8',
    500: '#9826b0',
    950: '#000000',
  },
}
SCSS
$custom: #9826b0;
$custom-light: #ba6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9826b0",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 289.565,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51026,
    "c": 0.21449,
    "h": 319.8
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#9826B0
secondary
#7BC76B
accent
#E7405D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9826B0

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

Preview Lab → · Contrast checker → · Palette generator →

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