#9E28AF#9E28AF

#9E28AF is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.214 H 322.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9E28AF
RGBrgb(158, 40, 175)
HSLhsl(292, 63%, 42%)
HSVhsv(292, 77%, 69%)
CMYKcmyk(9.7%, 77.1%, 0%, 31.4%)
CIE-LABlab(41.03, 63.93, -46.86)
CIE-LCHlch(41.03, 79.26, 323.76°)
OKLaboklab(51.99% 0.1693 -0.1311)
OKLCHoklch(51.99% 0.214 322.2)
XYZxyz(22.5964, 11.8831, 41.6526)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E28AF #39AF28
analogous
#5A28AF #9E28AF #AF287D
triadic
#9E28AF #AF9E28 #28AF9E
tetradic
#9E28AF #AF5A28 #39AF28 #287DAF
square
#9E28AF #AF5A28 #39AF28 #287DAF
split-complementary
#9E28AF #7DAF28 #28AF5A
monochromatic
#44114B #711D7D #9E28AF #C141D4 #D173DF

Accessibility & contrast

On white

6.22
#9E28AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9E28AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E28AF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E28AF#FFFFFF#000000##FFFFFF
##9E28AF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#A0436B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e28af;
/* rgb */ color: rgb(158, 40, 175);
/* oklch */ color: oklch(52.0% 0.214 322.2);
Tailwind
colors: {
  custom: {
    50: '#bf70c7',
    500: '#9e28af',
    950: '#000000',
  },
}
SCSS
$custom: #9e28af;
$custom-light: #bf70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e28af",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 292.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.21415,
    "h": 322.2
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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