#9C26A5#9C26A5

#9C26A5 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.207 H 324.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9C26A5
RGBrgb(156, 38, 165)
HSLhsl(296, 63%, 40%)
HSVhsv(296, 77%, 65%)
CMYKcmyk(5.5%, 77%, 0%, 35.3%)
CIE-LABlab(39.87, 62.39, -42.77)
CIE-LCHlch(39.87, 75.64, 325.57°)
OKLaboklab(50.9% 0.1695 -0.1192)
OKLCHoklch(50.9% 0.207 324.9)
XYZxyz(21.1944, 11.1721, 36.6301)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C26A5 #2FA526
analogous
#5D26A5 #9C26A5 #A5266F
triadic
#9C26A5 #A59C26 #26A59C
tetradic
#9C26A5 #A55D26 #2FA526 #266FA5
square
#9C26A5 #A55D26 #2FA526 #266FA5
split-complementary
#9C26A5 #6FA526 #26A55D
monochromatic
#3E0F42 #6D1B73 #9C26A5 #C637D1 #D469DC

Accessibility & contrast

On white

6.49
#9C26A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9C26A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C26A5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C26A5#FFFFFF#000000##FFFFFF
##9C26A51.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c26a5;
/* rgb */ color: rgb(156, 38, 165);
/* oklch */ color: oklch(50.9% 0.207 324.9);
Tailwind
colors: {
  custom: {
    50: '#bd6ec0',
    500: '#9c26a5',
    950: '#000000',
  },
}
SCSS
$custom: #9c26a5;
$custom-light: #bd6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c26a5",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 295.748,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50901,
    "c": 0.20722,
    "h": 324.9
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#9C26A5
secondary
#6BC364
accent
#E6424E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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