#9B26B1#9B26B1

#9B26B1 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.216 H 320.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9B26B1
RGBrgb(155, 38, 177)
HSLhsl(291, 65%, 42%)
HSVhsv(291, 79%, 69%)
CMYKcmyk(12.4%, 78.5%, 0%, 30.6%)
CIE-LABlab(40.46, 64.31, -48.99)
CIE-LCHlch(40.46, 80.84, 322.70°)
OKLaboklab(51.53% 0.1673 -0.1374)
OKLCHoklch(51.53% 0.216 320.6)
XYZxyz(22.1455, 11.5303, 42.6455)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26B1 #3CB126
analogous
#5626B1 #9B26B1 #B12681
triadic
#9B26B1 #B19B26 #26B19B
tetradic
#9B26B1 #B15626 #3CB126 #2681B1
square
#9B26B1 #B15626 #3CB126 #2681B1
split-complementary
#9B26B1 #81B126 #26B156
monochromatic
#43104C #6F1B7F #9B26B1 #BE3FD6 #CF71E0

Accessibility & contrast

On white

6.35
#9B26B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9B26B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26B1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26B1#FFFFFF#000000##FFFFFF
##9B26B11.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#3663AE
Tritanopia (blue-blind)
#9C446C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b26b1;
/* rgb */ color: rgb(155, 38, 177);
/* oklch */ color: oklch(51.5% 0.216 320.6);
Tailwind
colors: {
  custom: {
    50: '#bd6fc9',
    500: '#9b26b1',
    950: '#000000',
  },
}
SCSS
$custom: #9b26b1;
$custom-light: #bd6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26b1",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 290.504,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51529,
    "c": 0.21647,
    "h": 320.6
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#9B26B1
secondary
#7AC76B
accent
#E8405B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9B26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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