#9D26A7#9D26A7

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

Color values

HEX#9D26A7
RGBrgb(157, 38, 167)
HSLhsl(295, 63%, 40%)
HSVhsv(295, 77%, 65%)
CMYKcmyk(6%, 77.2%, 0%, 34.5%)
CIE-LABlab(40.16, 62.94, -43.50)
CIE-LCHlch(40.16, 76.51, 325.35°)
OKLaboklab(51.18% 0.1705 -0.1213)
OKLCHoklch(51.18% 0.209 324.6)
XYZxyz(21.5722, 11.3457, 37.6054)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D26A7 #30A726
analogous
#5D26A7 #9D26A7 #A72670
triadic
#9D26A7 #A79D26 #26A79D
tetradic
#9D26A7 #A75D26 #30A726 #2670A7
square
#9D26A7 #A75D26 #30A726 #2670A7
split-complementary
#9D26A7 #70A726 #26A75D
monochromatic
#3F0F43 #6E1B75 #9D26A7 #C638D2 #D46ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D26A7#FFFFFF#000000##FFFFFF
##9D26A71.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)
#0056AA
Deuteranopia (green-blind)
#4163A4
Tritanopia (blue-blind)
#A03E66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d26a7;
/* rgb */ color: rgb(157, 38, 167);
/* oklch */ color: oklch(51.2% 0.209 324.6);
Tailwind
colors: {
  custom: {
    50: '#be6fc2',
    500: '#9d26a7',
    950: '#000000',
  },
}
SCSS
$custom: #9d26a7;
$custom-light: #be6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d26a7",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 295.349,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51177,
    "c": 0.20924,
    "h": 324.6
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#9D26A7
secondary
#6DC365
accent
#E6424F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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