#9B26A5#9B26A5

#9B26A5 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.207 H 324.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9B26A5
RGBrgb(155, 38, 165)
HSLhsl(295, 63%, 40%)
HSVhsv(295, 77%, 65%)
CMYKcmyk(6.1%, 77%, 0%, 35.3%)
CIE-LABlab(39.70, 62.18, -43.05)
CIE-LCHlch(39.70, 75.63, 325.31°)
OKLaboklab(50.75% 0.1684 -0.12)
OKLCHoklch(50.75% 0.207 324.5)
XYZxyz(21.0017, 11.0728, 36.6211)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26A5 #30A526
analogous
#5C26A5 #9B26A5 #A5266F
triadic
#9B26A5 #A59B26 #26A59B
tetradic
#9B26A5 #A55C26 #30A526 #266FA5
square
#9B26A5 #A55C26 #30A526 #266FA5
split-complementary
#9B26A5 #6FA526 #26A55C
monochromatic
#3E0F42 #6C1B73 #9B26A5 #C537D1 #D369DC

Accessibility & contrast

On white

6.53
#9B26A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9B26A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26A5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26A5#FFFFFF#000000##FFFFFF
##9B26A51.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#4062A2
Tritanopia (blue-blind)
#9E3E65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b26a5;
/* rgb */ color: rgb(155, 38, 165);
/* oklch */ color: oklch(50.8% 0.207 324.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ec0',
    500: '#9b26a5',
    950: '#000000',
  },
}
SCSS
$custom: #9b26a5;
$custom-light: #bc6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26a5",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 295.276,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50751,
    "c": 0.20679,
    "h": 324.5
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#9B26A5
secondary
#6CC364
accent
#E6424F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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