#9D26A9#9D26A9

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

Color values

HEX#9D26A9
RGBrgb(157, 38, 169)
HSLhsl(295, 63%, 41%)
HSVhsv(295, 78%, 66%)
CMYKcmyk(7.1%, 77.5%, 0%, 33.7%)
CIE-LABlab(40.28, 63.28, -44.50)
CIE-LCHlch(40.28, 77.36, 324.89°)
OKLaboklab(51.3% 0.1704 -0.1242)
OKLCHoklch(51.3% 0.211 323.9)
XYZxyz(21.7585, 11.4203, 38.5867)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D26A9 #32A926
analogous
#5B26A9 #9D26A9 #A92673
triadic
#9D26A9 #A99D26 #26A99D
tetradic
#9D26A9 #A95B26 #32A926 #2673A9
square
#9D26A9 #A95B26 #32A926 #2673A9
split-complementary
#9D26A9 #73A926 #26A95B
monochromatic
#401045 #6F1B77 #9D26A9 #C53AD3 #D36CDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D26A9#FFFFFF#000000##FFFFFF
##9D26A91.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)
#0056AC
Deuteranopia (green-blind)
#3F64A6
Tritanopia (blue-blind)
#A03F67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d26a9;
/* rgb */ color: rgb(157, 38, 169);
/* oklch */ color: oklch(51.3% 0.211 323.9);
Tailwind
colors: {
  custom: {
    50: '#be6fc3',
    500: '#9d26a9',
    950: '#000000',
  },
}
SCSS
$custom: #9d26a9;
$custom-light: #be6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d26a9",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 294.504,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51303,
    "c": 0.21083,
    "h": 323.9
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#9D26A9
secondary
#6FC467
accent
#E64151
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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