#9A26A8#9A26A8

#9A26A8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.209 H 323.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9A26A8
RGBrgb(154, 38, 168)
HSLhsl(294, 63%, 40%)
HSVhsv(294, 77%, 66%)
CMYKcmyk(8.3%, 77.4%, 0%, 34.1%)
CIE-LABlab(39.72, 62.50, -44.82)
CIE-LCHlch(39.72, 76.91, 324.36°)
OKLaboklab(50.79% 0.167 -0.1252)
OKLCHoklch(50.79% 0.209 323.1)
XYZxyz(21.0868, 11.0847, 38.0671)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A26A8 #34A826
analogous
#5926A8 #9A26A8 #A82675
triadic
#9A26A8 #A89A26 #26A89A
tetradic
#9A26A8 #A85926 #34A826 #2675A8
square
#9A26A8 #A85926 #34A826 #2675A8
split-complementary
#9A26A8 #75A826 #26A859
monochromatic
#3E0F44 #6C1B76 #9A26A8 #C239D2 #D16BDE

Accessibility & contrast

On white

6.53
#9A26A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9A26A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A26A8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A26A8#FFFFFF#000000##FFFFFF
##9A26A81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#3D62A5
Tritanopia (blue-blind)
#9C4066
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a26a8;
/* rgb */ color: rgb(154, 38, 168);
/* oklch */ color: oklch(50.8% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#bc6ec2',
    500: '#9a26a8',
    950: '#000000',
  },
}
SCSS
$custom: #9a26a8;
$custom-light: #bc6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a26a8",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 293.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.20877,
    "h": 323.1
  },
  "luminance": 0.11083
}

Semantic roles & 50–950 ramp

primary
#9A26A8
secondary
#70C466
accent
#E64253
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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