#9B26B0#9B26B0

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

Color values

HEX#9B26B0
RGBrgb(155, 38, 176)
HSLhsl(291, 64%, 42%)
HSVhsv(291, 78%, 69%)
CMYKcmyk(11.9%, 78.4%, 0%, 31%)
CIE-LABlab(40.39, 64.13, -48.50)
CIE-LCHlch(40.39, 80.40, 322.90°)
OKLaboklab(51.46% 0.1674 -0.136)
OKLCHoklch(51.46% 0.216 320.9)
XYZxyz(22.0462, 11.4906, 42.1225)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26B0 #3BB026
analogous
#5626B0 #9B26B0 #B02680
triadic
#9B26B0 #B09B26 #26B09B
tetradic
#9B26B0 #B05626 #3BB026 #2680B0
square
#9B26B0 #B05626 #3BB026 #2680B0
split-complementary
#9B26B0 #80B026 #26B056
monochromatic
#42104B #6F1B7E #9B26B0 #BE3ED5 #CF70E0

Accessibility & contrast

On white

6.37
#9B26B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9B26B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26B0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26B0#FFFFFF#000000##FFFFFF
##9B26B01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#3763AD
Tritanopia (blue-blind)
#9C436B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b26b0;
/* rgb */ color: rgb(155, 38, 176);
/* oklch */ color: oklch(51.5% 0.216 320.9);
Tailwind
colors: {
  custom: {
    50: '#bd6fc8',
    500: '#9b26b0',
    950: '#000000',
  },
}
SCSS
$custom: #9b26b0;
$custom-light: #bd6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26b0",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 290.87,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.21565,
    "h": 320.9
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#9B26B0
secondary
#79C76B
accent
#E7405A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9B26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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