#9A26A6#9A26A6

#9A26A6 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.207 H 323.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9A26A6
RGBrgb(154, 38, 166)
HSLhsl(294, 63%, 40%)
HSVhsv(294, 77%, 65%)
CMYKcmyk(7.2%, 77.1%, 0%, 34.9%)
CIE-LABlab(39.60, 62.15, -43.82)
CIE-LCHlch(39.60, 76.05, 324.81°)
OKLaboklab(50.66% 0.1672 -0.1223)
OKLCHoklch(50.66% 0.207 323.8)
XYZxyz(20.9019, 11.0107, 37.0934)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A26A6 #32A626
analogous
#5A26A6 #9A26A6 #A62672
triadic
#9A26A6 #A69A26 #26A69A
tetradic
#9A26A6 #A65A26 #32A626 #2672A6
square
#9A26A6 #A65A26 #32A626 #2672A6
split-complementary
#9A26A6 #72A626 #26A65A
monochromatic
#3E0F42 #6C1B74 #9A26A6 #C338D1 #D26ADD

Accessibility & contrast

On white

6.56
#9A26A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9A26A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A26A6
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A26A6#FFFFFF#000000##FFFFFF
##9A26A61.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#9D3F65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a26a6;
/* rgb */ color: rgb(154, 38, 166);
/* oklch */ color: oklch(50.7% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#bc6ec1',
    500: '#9a26a6',
    950: '#000000',
  },
}
SCSS
$custom: #9a26a6;
$custom-light: #bc6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a26a6",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 294.375,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.50664,
    "c": 0.20715,
    "h": 323.8
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#9A26A6
secondary
#6EC365
accent
#E64251
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A26A6

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

Preview Lab → · Contrast checker → · Palette generator →

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