#9B26AD#9B26AD

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

Color values

HEX#9B26AD
RGBrgb(155, 38, 173)
HSLhsl(292, 64%, 41%)
HSVhsv(292, 78%, 68%)
CMYKcmyk(10.4%, 78%, 0%, 32.2%)
CIE-LABlab(40.20, 63.59, -47.02)
CIE-LCHlch(40.20, 79.09, 323.52°)
OKLaboklab(51.27% 0.1677 -0.1317)
OKLCHoklch(51.27% 0.213 321.9)
XYZxyz(21.7527, 11.3732, 40.5765)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26AD #38AD26
analogous
#5826AD #9B26AD #AD267C
triadic
#9B26AD #AD9B26 #26AD9B
tetradic
#9B26AD #AD5826 #38AD26 #267CAD
square
#9B26AD #AD5826 #38AD26 #267CAD
split-complementary
#9B26AD #7CAD26 #26AD58
monochromatic
#411049 #6E1B7B #9B26AD #C03CD4 #D06EDF

Accessibility & contrast

On white

6.41
#9B26AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9B26AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26AD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26AD#FFFFFF#000000##FFFFFF
##9B26AD1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#9D4269
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b26ad;
/* rgb */ color: rgb(155, 38, 173);
/* oklch */ color: oklch(51.3% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#bd6fc6',
    500: '#9b26ad',
    950: '#000000',
  },
}
SCSS
$custom: #9b26ad;
$custom-light: #bd6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26ad",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 292,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.21322,
    "h": 321.9
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#9B26AD
secondary
#75C669
accent
#E74157
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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