#9C26AF#9C26AF

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

Color values

HEX#9C26AF
RGBrgb(156, 38, 175)
HSLhsl(292, 64%, 42%)
HSVhsv(292, 78%, 69%)
CMYKcmyk(10.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(40.49, 64.14, -47.74)
CIE-LCHlch(40.49, 79.96, 323.34°)
OKLaboklab(51.54% 0.1687 -0.1337)
OKLCHoklch(51.54% 0.215 321.6)
XYZxyz(22.1404, 11.5506, 41.6124)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C26AF #39AF26
analogous
#5826AF #9C26AF #AF267E
triadic
#9C26AF #AF9C26 #26AF9C
tetradic
#9C26AF #AF5826 #39AF26 #267EAF
square
#9C26AF #AF5826 #39AF26 #267EAF
split-complementary
#9C26AF #7EAF26 #26AF58
monochromatic
#42104A #6F1B7D #9C26AF #C03DD5 #D070E0

Accessibility & contrast

On white

6.34
#9C26AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9C26AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C26AF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C26AF#FFFFFF#000000##FFFFFF
##9C26AF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c26af;
/* rgb */ color: rgb(156, 38, 175);
/* oklch */ color: oklch(51.5% 0.215 321.6);
Tailwind
colors: {
  custom: {
    50: '#bd6fc7',
    500: '#9c26af',
    950: '#000000',
  },
}
SCSS
$custom: #9c26af;
$custom-light: #bd6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c26af",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 291.679,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.21524,
    "h": 321.6
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#9C26AF
secondary
#77C76A
accent
#E74058
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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