#9D28AB#9D28AB

#9D28AB is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.210 H 323.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9D28AB
RGBrgb(157, 40, 171)
HSLhsl(294, 62%, 41%)
HSVhsv(294, 77%, 67%)
CMYKcmyk(8.2%, 76.6%, 0%, 32.9%)
CIE-LABlab(40.62, 63.02, -45.15)
CIE-LCHlch(40.62, 77.52, 324.38°)
OKLaboklab(51.58% 0.1685 -0.1261)
OKLCHoklch(51.58% 0.21 323.2)
XYZxyz(22.0134, 11.6273, 39.6050)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D28AB #36AB28
analogous
#5C28AB #9D28AB #AB2878
triadic
#9D28AB #AB9D28 #28AB9D
tetradic
#9D28AB #AB5C28 #36AB28 #2878AB
square
#9D28AB #AB5C28 #36AB28 #2878AB
split-complementary
#9D28AB #78AB28 #28AB5C
monochromatic
#421148 #6F1C79 #9D28AB #C23ED2 #D270DE

Accessibility & contrast

On white

6.32
#9D28AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9D28AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D28AB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D28AB#FFFFFF#000000##FFFFFF
##9D28AB1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#3F64A8
Tritanopia (blue-blind)
#9F4169
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d28ab;
/* rgb */ color: rgb(157, 40, 171);
/* oklch */ color: oklch(51.6% 0.210 323.2);
Tailwind
colors: {
  custom: {
    50: '#be70c5',
    500: '#9d28ab',
    950: '#000000',
  },
}
SCSS
$custom: #9d28ab;
$custom-light: #be70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d28ab",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 293.588,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.21049,
    "h": 323.2
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#9D28AB
secondary
#74C46A
accent
#E54354
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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