#9D26A6#9D26A6

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

Color values

HEX#9D26A6
RGBrgb(157, 38, 166)
HSLhsl(296, 63%, 40%)
HSVhsv(296, 77%, 65%)
CMYKcmyk(5.4%, 77.1%, 0%, 34.9%)
CIE-LABlab(40.10, 62.76, -43.00)
CIE-LCHlch(40.10, 76.08, 325.59°)
OKLaboklab(51.11% 0.1706 -0.1198)
OKLCHoklch(51.11% 0.208 324.9)
XYZxyz(21.4801, 11.3089, 37.1205)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D26A6 #2FA626
analogous
#5D26A6 #9D26A6 #A6266F
triadic
#9D26A6 #A69D26 #26A69D
tetradic
#9D26A6 #A65D26 #2FA626 #266FA6
square
#9D26A6 #A65D26 #2FA626 #266FA6
split-complementary
#9D26A6 #6FA626 #26A65D
monochromatic
#3F0F42 #6E1B74 #9D26A6 #C738D1 #D56ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D26A6#FFFFFF#000000##FFFFFF
##9D26A61.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)
#0055A9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#A03E65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d26a6;
/* rgb */ color: rgb(157, 38, 166);
/* oklch */ color: oklch(51.1% 0.208 324.9);
Tailwind
colors: {
  custom: {
    50: '#be6fc1',
    500: '#9d26a6',
    950: '#000000',
  },
}
SCSS
$custom: #9d26a6;
$custom-light: #be6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d26a6",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 295.781,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.20846,
    "h": 324.9
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#9D26A6
secondary
#6BC365
accent
#E6424E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D26A6

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

Preview Lab → · Contrast checker → · Palette generator →

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