#9E28AE#9E28AE

#9E28AE is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.213 H 322.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9E28AE
RGBrgb(158, 40, 174)
HSLhsl(293, 63%, 42%)
HSVhsv(293, 77%, 68%)
CMYKcmyk(9.2%, 77%, 0%, 31.8%)
CIE-LABlab(40.97, 63.75, -46.37)
CIE-LCHlch(40.97, 78.83, 323.97°)
OKLaboklab(51.92% 0.1694 -0.1297)
OKLCHoklch(51.92% 0.213 322.6)
XYZxyz(22.4986, 11.8440, 41.1373)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E28AE #38AE28
analogous
#5B28AE #9E28AE #AE287B
triadic
#9E28AE #AE9E28 #28AE9E
tetradic
#9E28AE #AE5B28 #38AE28 #287BAE
square
#9E28AE #AE5B28 #38AE28 #287BAE
split-complementary
#9E28AE #7BAE28 #28AE5B
monochromatic
#44114A #711D7C #9E28AE #C240D3 #D272DF

Accessibility & contrast

On white

6.23
#9E28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9E28AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E28AE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E28AE#FFFFFF#000000##FFFFFF
##9E28AE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3D65AB
Tritanopia (blue-blind)
#A0436A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e28ae;
/* rgb */ color: rgb(158, 40, 174);
/* oklch */ color: oklch(51.9% 0.213 322.6);
Tailwind
colors: {
  custom: {
    50: '#bf70c7',
    500: '#9e28ae',
    950: '#000000',
  },
}
SCSS
$custom: #9e28ae;
$custom-light: #bf70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e28ae",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 292.836,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.21333,
    "h": 322.6
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#9E28AE
secondary
#77C66C
accent
#E64256
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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