#9A26BA#9A26BA

#9A26BA is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.224 H 317.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9A26BA
RGBrgb(154, 38, 186)
HSLhsl(287, 66%, 44%)
HSVhsv(287, 80%, 73%)
CMYKcmyk(17.2%, 79.6%, 0%, 27.1%)
CIE-LABlab(40.90, 65.78, -53.60)
CIE-LCHlch(40.90, 84.85, 320.83°)
OKLaboklab(52% 0.1648 -0.151)
OKLCHoklch(52% 0.224 317.5)
XYZxyz(22.8812, 11.8025, 47.5177)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A26BA #46BA26
analogous
#5026BA #9A26BA #BA2690
triadic
#9A26BA #BA9A26 #26BA9A
tetradic
#9A26BA #BA5026 #46BA26 #2690BA
square
#9A26BA #BA5026 #46BA26 #2690BA
split-complementary
#9A26BA #90BA26 #26BA50
monochromatic
#461154 #701C87 #9A26BA #B944D9 #CC77E3

Accessibility & contrast

On white

6.25
#9A26BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9A26BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A26BA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A26BA#FFFFFF#000000##FFFFFF
##9A26BA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#994871
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a26ba;
/* rgb */ color: rgb(154, 38, 186);
/* oklch */ color: oklch(52.0% 0.224 317.5);
Tailwind
colors: {
  custom: {
    50: '#bc6fcf',
    500: '#9a26ba',
    950: '#000000',
  },
}
SCSS
$custom: #9a26ba;
$custom-light: #bc6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a26ba",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 287.027,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.2235,
    "h": 317.5
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#9A26BA
secondary
#84CB71
accent
#E93F64
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9A26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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