#9B26AE#9B26AE

#9B26AE is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.214 H 321.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9B26AE
RGBrgb(155, 38, 174)
HSLhsl(292, 64%, 42%)
HSVhsv(292, 78%, 68%)
CMYKcmyk(10.9%, 78.2%, 0%, 31.8%)
CIE-LABlab(40.27, 63.77, -47.52)
CIE-LCHlch(40.27, 79.53, 323.31°)
OKLaboklab(51.33% 0.1676 -0.1331)
OKLCHoklch(51.33% 0.214 321.5)
XYZxyz(21.8498, 11.4120, 41.0880)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26AE #39AE26
analogous
#5726AE #9B26AE #AE267D
triadic
#9B26AE #AE9B26 #26AE9B
tetradic
#9B26AE #AE5726 #39AE26 #267DAE
square
#9B26AE #AE5726 #39AE26 #267DAE
split-complementary
#9B26AE #7DAE26 #26AE57
monochromatic
#42104A #6E1B7C #9B26AE #BF3DD5 #D06FE0

Accessibility & contrast

On white

6.40
#9B26AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B26AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26AE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26AE#FFFFFF#000000##FFFFFF
##9B26AE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#3963AB
Tritanopia (blue-blind)
#9C426A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b26ae;
/* rgb */ color: rgb(155, 38, 174);
/* oklch */ color: oklch(51.3% 0.214 321.5);
Tailwind
colors: {
  custom: {
    50: '#bd6fc7',
    500: '#9b26ae',
    950: '#000000',
  },
}
SCSS
$custom: #9b26ae;
$custom-light: #bd6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26ae",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 291.618,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.21403,
    "h": 321.5
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#9B26AE
secondary
#77C66A
accent
#E74158
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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