#9A26AF#9A26AF

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

Color values

HEX#9A26AF
RGBrgb(154, 38, 175)
HSLhsl(291, 64%, 42%)
HSVhsv(291, 78%, 69%)
CMYKcmyk(12%, 78.3%, 0%, 31.4%)
CIE-LABlab(40.17, 63.75, -48.28)
CIE-LCHlch(40.17, 79.97, 322.87°)
OKLaboklab(51.25% 0.1663 -0.1354)
OKLCHoklch(51.25% 0.214 320.9)
XYZxyz(21.7565, 11.3526, 41.5944)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A26AF #3BAF26
analogous
#5626AF #9A26AF #AF2680
triadic
#9A26AF #AF9A26 #26AF9A
tetradic
#9A26AF #AF5626 #3BAF26 #2680AF
square
#9A26AF #AF5626 #3BAF26 #2680AF
split-complementary
#9A26AF #80AF26 #26AF56
monochromatic
#42104A #6E1B7D #9A26AF #BE3DD5 #CF70E0

Accessibility & contrast

On white

6.42
#9A26AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9A26AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A26AF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A26AF#FFFFFF#000000##FFFFFF
##9A26AF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#9B436A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a26af;
/* rgb */ color: rgb(154, 38, 175);
/* oklch */ color: oklch(51.2% 0.214 320.9);
Tailwind
colors: {
  custom: {
    50: '#bc6fc7',
    500: '#9a26af',
    950: '#000000',
  },
}
SCSS
$custom: #9a26af;
$custom-light: #bc6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a26af",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 290.803,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5125,
    "c": 0.21445,
    "h": 320.9
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#9A26AF
secondary
#78C76A
accent
#E7405A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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