#9C26A3#9C26A3

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

Color values

HEX#9C26A3
RGBrgb(156, 38, 163)
HSLhsl(297, 62%, 39%)
HSVhsv(297, 77%, 64%)
CMYKcmyk(4.3%, 76.7%, 0%, 36.1%)
CIE-LABlab(39.75, 62.04, -41.77)
CIE-LCHlch(39.75, 74.79, 326.05°)
OKLaboklab(50.78% 0.1696 -0.1163)
OKLCHoklch(50.78% 0.206 325.6)
XYZxyz(21.0138, 11.0999, 35.6789)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C26A3 #2DA326
analogous
#5E26A3 #9C26A3 #A3266C
triadic
#9C26A3 #A39C26 #26A39C
tetradic
#9C26A3 #A35E26 #2DA326 #266CA3
square
#9C26A3 #A35E26 #2DA326 #266CA3
split-complementary
#9C26A3 #6CA326 #26A35E
monochromatic
#3D0F40 #6D1A71 #9C26A3 #C836D0 #D568DC

Accessibility & contrast

On white

6.52
#9C26A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9C26A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C26A3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C26A3#FFFFFF#000000##FFFFFF
##9C26A31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#A03D64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c26a3;
/* rgb */ color: rgb(156, 38, 163);
/* oklch */ color: oklch(50.8% 0.206 325.6);
Tailwind
colors: {
  custom: {
    50: '#bd6ebf',
    500: '#9c26a3',
    950: '#000000',
  },
}
SCSS
$custom: #9c26a3;
$custom-light: #bd6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c26a3",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 296.64,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.20564,
    "h": 325.6
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#9C26A3
secondary
#68C263
accent
#E5434C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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