#9D28AE#9D28AE

#9D28AE is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.213 H 322.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9D28AE
RGBrgb(157, 40, 174)
HSLhsl(292, 63%, 42%)
HSVhsv(292, 77%, 68%)
CMYKcmyk(9.8%, 77%, 0%, 31.8%)
CIE-LABlab(40.80, 63.55, -46.63)
CIE-LCHlch(40.80, 78.82, 323.73°)
OKLaboklab(51.78% 0.1683 -0.1305)
OKLCHoklch(51.78% 0.213 322.2)
XYZxyz(22.3026, 11.7430, 41.1281)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D28AE #39AE28
analogous
#5A28AE #9D28AE #AE287C
triadic
#9D28AE #AE9D28 #28AE9D
tetradic
#9D28AE #AE5A28 #39AE28 #287CAE
square
#9D28AE #AE5A28 #39AE28 #287CAE
split-complementary
#9D28AE #7CAE28 #28AE5A
monochromatic
#43114A #701D7C #9D28AE #C040D3 #D172DF

Accessibility & contrast

On white

6.27
#9D28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9D28AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D28AE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D28AE#FFFFFF#000000##FFFFFF
##9D28AE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3C64AB
Tritanopia (blue-blind)
#9F436A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d28ae;
/* rgb */ color: rgb(157, 40, 174);
/* oklch */ color: oklch(51.8% 0.213 322.2);
Tailwind
colors: {
  custom: {
    50: '#be70c7',
    500: '#9d28ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d28ae;
$custom-light: #be70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d28ae",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 292.388,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.21292,
    "h": 322.2
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#9D28AE
secondary
#78C66C
accent
#E64257
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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