#9A26AE#9A26AE

#9A26AE is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.214 H 321.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9A26AE
RGBrgb(154, 38, 174)
HSLhsl(291, 64%, 42%)
HSVhsv(291, 78%, 68%)
CMYKcmyk(11.5%, 78.2%, 0%, 31.8%)
CIE-LABlab(40.10, 63.57, -47.79)
CIE-LCHlch(40.10, 79.53, 323.07°)
OKLaboklab(51.18% 0.1664 -0.1339)
OKLCHoklch(51.18% 0.214 321.2)
XYZxyz(21.6587, 11.3134, 41.0791)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A26AE #3AAE26
analogous
#5626AE #9A26AE #AE267E
triadic
#9A26AE #AE9A26 #26AE9A
tetradic
#9A26AE #AE5626 #3AAE26 #267EAE
square
#9A26AE #AE5626 #3AAE26 #267EAE
split-complementary
#9A26AE #7EAE26 #26AE56
monochromatic
#41104A #6E1B7C #9A26AE #BE3DD5 #CF6FE0

Accessibility & contrast

On white

6.44
#9A26AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9A26AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A26AE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A26AE#FFFFFF#000000##FFFFFF
##9A26AE1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#3863AB
Tritanopia (blue-blind)
#9B426A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a26ae;
/* rgb */ color: rgb(154, 38, 174);
/* oklch */ color: oklch(51.2% 0.214 321.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ec7',
    500: '#9a26ae',
    950: '#000000',
  },
}
SCSS
$custom: #9a26ae;
$custom-light: #bc6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a26ae",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 291.176,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.21363,
    "h": 321.2
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#9A26AE
secondary
#77C66A
accent
#E74159
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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