#9E28AD#9E28AD

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

Color values

HEX#9E28AD
RGBrgb(158, 40, 173)
HSLhsl(293, 62%, 42%)
HSVhsv(293, 77%, 68%)
CMYKcmyk(8.7%, 76.9%, 0%, 32.2%)
CIE-LABlab(40.90, 63.57, -45.87)
CIE-LCHlch(40.90, 78.39, 324.19°)
OKLaboklab(51.86% 0.1695 -0.1282)
OKLCHoklch(51.86% 0.213 322.9)
XYZxyz(22.4014, 11.8052, 40.6258)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E28AD #37AD28
analogous
#5C28AD #9E28AD #AD287A
triadic
#9E28AD #AD9E28 #28AD9E
tetradic
#9E28AD #AD5C28 #37AD28 #287AAD
square
#9E28AD #AD5C28 #37AD28 #287AAD
split-complementary
#9E28AD #7AAD28 #28AD5C
monochromatic
#43114A #711D7B #9E28AD #C23FD3 #D271DE

Accessibility & contrast

On white

6.25
#9E28AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9E28AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E28AD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E28AD#FFFFFF#000000##FFFFFF
##9E28AD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#3E65AA
Tritanopia (blue-blind)
#A0426A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e28ad;
/* rgb */ color: rgb(158, 40, 173);
/* oklch */ color: oklch(51.9% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#bf70c6',
    500: '#9e28ad',
    950: '#000000',
  },
}
SCSS
$custom: #9e28ad;
$custom-light: #bf70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e28ad",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 293.233,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.21253,
    "h": 322.9
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#9E28AD
secondary
#76C56C
accent
#E64255
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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