#9C26BA#9C26BA

#9C26BA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.224 H 318.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9C26BA
RGBrgb(156, 38, 186)
HSLhsl(288, 66%, 44%)
HSVhsv(288, 80%, 73%)
CMYKcmyk(16.1%, 79.6%, 0%, 27.1%)
CIE-LABlab(41.22, 66.15, -53.07)
CIE-LCHlch(41.22, 84.81, 321.26°)
OKLaboklab(52.28% 0.1672 -0.1494)
OKLCHoklch(52.28% 0.224 318.2)
XYZxyz(23.2651, 12.0004, 47.5357)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C26BA #44BA26
analogous
#5226BA #9C26BA #BA268E
triadic
#9C26BA #BA9C26 #26BA9C
tetradic
#9C26BA #BA5226 #44BA26 #268EBA
square
#9C26BA #BA5226 #44BA26 #268EBA
split-complementary
#9C26BA #8EBA26 #26BA52
monochromatic
#471154 #711C87 #9C26BA #BB44D9 #CD77E3

Accessibility & contrast

On white

6.18
#9C26BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9C26BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C26BA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C26BA#FFFFFF#000000##FFFFFF
##9C26BA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#9B4871
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c26ba;
/* rgb */ color: rgb(156, 38, 186);
/* oklch */ color: oklch(52.3% 0.224 318.2);
Tailwind
colors: {
  custom: {
    50: '#be6fcf',
    500: '#9c26ba',
    950: '#000000',
  },
}
SCSS
$custom: #9c26ba;
$custom-light: #be6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c26ba",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 287.838,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.22421,
    "h": 318.2
  },
  "luminance": 0.11999
}

Semantic roles & 50–950 ramp

primary
#9C26BA
secondary
#83CB71
accent
#E93F61
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9C26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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