#9B26AF#9B26AF

#9B26AF is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.215 H 321.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9B26AF
RGBrgb(155, 38, 175)
HSLhsl(291, 64%, 42%)
HSVhsv(291, 78%, 69%)
CMYKcmyk(11.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(40.33, 63.95, -48.01)
CIE-LCHlch(40.33, 79.96, 323.10°)
OKLaboklab(51.4% 0.1675 -0.1345)
OKLCHoklch(51.4% 0.215 321.2)
XYZxyz(21.9477, 11.4512, 41.6034)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26AF #3AAF26
analogous
#5726AF #9B26AF #AF267F
triadic
#9B26AF #AF9B26 #26AF9B
tetradic
#9B26AF #AF5726 #3AAF26 #267FAF
square
#9B26AF #AF5726 #3AAF26 #267FAF
split-complementary
#9B26AF #7FAF26 #26AF57
monochromatic
#42104A #6E1B7D #9B26AF #BF3DD5 #CF70E0

Accessibility & contrast

On white

6.38
#9B26AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9B26AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26AF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26AF#FFFFFF#000000##FFFFFF
##9B26AF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#9C436A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b26af;
/* rgb */ color: rgb(155, 38, 175);
/* oklch */ color: oklch(51.4% 0.215 321.2);
Tailwind
colors: {
  custom: {
    50: '#bd6fc7',
    500: '#9b26af',
    950: '#000000',
  },
}
SCSS
$custom: #9b26af;
$custom-light: #bd6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26af",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 291.241,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.21484,
    "h": 321.2
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#9B26AF
secondary
#78C76A
accent
#E74059
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9B26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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