#9C26CA#9C26CA

#9C26CA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.4% C 0.237 H 313.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9C26CA
RGBrgb(156, 38, 202)
HSLhsl(283, 68%, 47%)
HSVhsv(283, 81%, 79%)
CMYKcmyk(22.8%, 81.2%, 0%, 20.8%)
CIE-LABlab(42.34, 69.17, -60.61)
CIE-LCHlch(42.34, 91.97, 318.78°)
OKLaboklab(53.42% 0.1643 -0.1715)
OKLCHoklch(53.42% 0.237 313.8)
XYZxyz(25.0622, 12.7193, 57.0005)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C26CA #54CA26
analogous
#4A26CA #9C26CA #CA26A6
triadic
#9C26CA #CA9C26 #26CA9C
tetradic
#9C26CA #CA4A26 #54CA26 #26A6CA
square
#9C26CA #CA4A26 #54CA26 #26A6CA
split-complementary
#9C26CA #A6CA26 #26CA4A
monochromatic
#4C1363 #741C96 #9C26CA #B64FDE #CB83E8

Accessibility & contrast

On white

5.93
#9C26CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9C26CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C26CA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C26CA#FFFFFF#000000##FFFFFF
##9C26CA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0D66C7
Tritanopia (blue-blind)
#974F7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c26ca;
/* rgb */ color: rgb(156, 38, 202);
/* oklch */ color: oklch(53.4% 0.237 313.8);
Tailwind
colors: {
  custom: {
    50: '#be70db',
    500: '#9c26ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c26ca;
$custom-light: #be70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c26ca",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 283.171,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.23747,
    "h": 313.8
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#9C26CA
secondary
#93D17B
accent
#EB3D6E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C26CA

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

Preview Lab → · Contrast checker → · Palette generator →

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