#9B26A7#9B26A7

#9B26A7 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.208 H 323.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9B26A7
RGBrgb(155, 38, 167)
HSLhsl(294, 63%, 40%)
HSVhsv(294, 77%, 65%)
CMYKcmyk(7.2%, 77.2%, 0%, 34.5%)
CIE-LABlab(39.83, 62.53, -44.05)
CIE-LCHlch(39.83, 76.49, 324.84°)
OKLaboklab(50.88% 0.1682 -0.123)
OKLCHoklch(50.88% 0.208 323.8)
XYZxyz(21.1851, 11.1461, 37.5873)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26A7 #32A726
analogous
#5B26A7 #9B26A7 #A72672
triadic
#9B26A7 #A79B26 #26A79B
tetradic
#9B26A7 #A75B26 #32A726 #2672A7
square
#9B26A7 #A75B26 #32A726 #2672A7
split-complementary
#9B26A7 #72A726 #26A75B
monochromatic
#3E0F43 #6D1B75 #9B26A7 #C438D2 #D26ADD

Accessibility & contrast

On white

6.50
#9B26A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9B26A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26A7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26A7#FFFFFF#000000##FFFFFF
##9B26A71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b26a7;
/* rgb */ color: rgb(155, 38, 167);
/* oklch */ color: oklch(50.9% 0.208 323.8);
Tailwind
colors: {
  custom: {
    50: '#bc6ec2',
    500: '#9b26a7',
    950: '#000000',
  },
}
SCSS
$custom: #9b26a7;
$custom-light: #bc6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26a7",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 294.419,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.20839,
    "h": 323.8
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#9B26A7
secondary
#6EC365
accent
#E64251
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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