#9C26A2#9C26A2

#9C26A2 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.205 H 325.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9C26A2
RGBrgb(156, 38, 162)
HSLhsl(297, 62%, 39%)
HSVhsv(297, 77%, 64%)
CMYKcmyk(3.7%, 76.5%, 0%, 36.5%)
CIE-LABlab(39.69, 61.87, -41.26)
CIE-LCHlch(39.69, 74.37, 326.30°)
OKLaboklab(50.72% 0.1697 -0.1148)
OKLCHoklch(50.72% 0.205 325.9)
XYZxyz(20.9246, 11.0642, 35.2089)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C26A2 #2CA226
analogous
#5E26A2 #9C26A2 #A2266A
triadic
#9C26A2 #A29C26 #26A29C
tetradic
#9C26A2 #A25E26 #2CA226 #266AA2
square
#9C26A2 #A25E26 #2CA226 #266AA2
split-complementary
#9C26A2 #6AA226 #26A25E
monochromatic
#3D0F3F #6C1A70 #9C26A2 #C835D0 #D667DB

Accessibility & contrast

On white

6.54
#9C26A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9C26A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C26A2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C26A2#FFFFFF#000000##FFFFFF
##9C26A21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#43629F
Tritanopia (blue-blind)
#A03C63
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c26a2;
/* rgb */ color: rgb(156, 38, 162);
/* oklch */ color: oklch(50.7% 0.205 325.9);
Tailwind
colors: {
  custom: {
    50: '#bd6ebe',
    500: '#9c26a2',
    950: '#000000',
  },
}
SCSS
$custom: #9c26a2;
$custom-light: #bd6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9c26a2",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 297.097,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50715,
    "c": 0.20485,
    "h": 325.9
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#9C26A2
secondary
#67C163
accent
#E5434B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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