#9B26A8#9B26A8

#9B26A8 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.209 H 323.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9B26A8
RGBrgb(155, 38, 168)
HSLhsl(294, 63%, 40%)
HSVhsv(294, 77%, 66%)
CMYKcmyk(7.7%, 77.4%, 0%, 34.1%)
CIE-LABlab(39.89, 62.70, -44.55)
CIE-LCHlch(39.89, 76.92, 324.61°)
OKLaboklab(50.94% 0.1682 -0.1244)
OKLCHoklch(50.94% 0.209 323.5)
XYZxyz(21.2779, 11.1833, 38.0760)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26A8 #33A826
analogous
#5A26A8 #9B26A8 #A82674
triadic
#9B26A8 #A89B26 #26A89B
tetradic
#9B26A8 #A85A26 #33A826 #2674A8
square
#9B26A8 #A85A26 #33A826 #2674A8
split-complementary
#9B26A8 #74A826 #26A85A
monochromatic
#3F0F44 #6D1B76 #9B26A8 #C339D2 #D26BDE

Accessibility & contrast

On white

6.49
#9B26A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9B26A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26A8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26A8#FFFFFF#000000##FFFFFF
##9B26A81.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#3E62A5
Tritanopia (blue-blind)
#9E3F66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b26a8;
/* rgb */ color: rgb(155, 38, 168);
/* oklch */ color: oklch(50.9% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ec2',
    500: '#9b26a8',
    950: '#000000',
  },
}
SCSS
$custom: #9b26a8;
$custom-light: #bc6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26a8",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 294,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.20919,
    "h": 323.5
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#9B26A8
secondary
#6FC466
accent
#E64252
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B26A8

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

Preview Lab → · Contrast checker → · Palette generator →

#9B26A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva