#9D26A8#9D26A8

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

Color values

HEX#9D26A8
RGBrgb(157, 38, 168)
HSLhsl(295, 63%, 40%)
HSVhsv(295, 77%, 66%)
CMYKcmyk(6.5%, 77.4%, 0%, 34.1%)
CIE-LABlab(40.22, 63.11, -44.00)
CIE-LCHlch(40.22, 76.93, 325.12°)
OKLaboklab(51.24% 0.1704 -0.1228)
OKLCHoklch(51.24% 0.21 324.2)
XYZxyz(21.6650, 11.3829, 38.0942)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D26A8 #31A826
analogous
#5C26A8 #9D26A8 #A82672
triadic
#9D26A8 #A89D26 #26A89D
tetradic
#9D26A8 #A85C26 #31A826 #2672A8
square
#9D26A8 #A85C26 #31A826 #2672A8
split-complementary
#9D26A8 #72A826 #26A85C
monochromatic
#400F44 #6E1B76 #9D26A8 #C539D2 #D46BDE

Accessibility & contrast

On white

6.41
#9D26A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9D26A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D26A8
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D26A8#FFFFFF#000000##FFFFFF
##9D26A81.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4063A5
Tritanopia (blue-blind)
#A03F66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d26a8;
/* rgb */ color: rgb(157, 38, 168);
/* oklch */ color: oklch(51.2% 0.210 324.2);
Tailwind
colors: {
  custom: {
    50: '#be6fc2',
    500: '#9d26a8',
    950: '#000000',
  },
}
SCSS
$custom: #9d26a8;
$custom-light: #be6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d26a8",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 294.923,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.21004,
    "h": 324.2
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#9D26A8
secondary
#6EC466
accent
#E64250
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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