#9E28B1#9E28B1

#9E28B1 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.216 H 321.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9E28B1
RGBrgb(158, 40, 177)
HSLhsl(292, 63%, 43%)
HSVhsv(292, 77%, 69%)
CMYKcmyk(10.7%, 77.4%, 0%, 30.6%)
CIE-LABlab(41.16, 64.28, -47.84)
CIE-LCHlch(41.16, 80.13, 323.34°)
OKLaboklab(52.12% 0.1691 -0.134)
OKLCHoklch(52.12% 0.216 321.6)
XYZxyz(22.7943, 11.9623, 42.6948)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E28B1 #3BB128
analogous
#5A28B1 #9E28B1 #B1287F
triadic
#9E28B1 #B19E28 #28B19E
tetradic
#9E28B1 #B15A28 #3BB128 #287FB1
square
#9E28B1 #B15A28 #3BB128 #287FB1
split-complementary
#9E28B1 #7FB128 #28B15A
monochromatic
#45114D #711D7F #9E28B1 #C042D4 #D174E0

Accessibility & contrast

On white

6.19
#9E28B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9E28B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E28B1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E28B1#FFFFFF#000000##FFFFFF
##9E28B11.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3B65AE
Tritanopia (blue-blind)
#9F446C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e28b1;
/* rgb */ color: rgb(158, 40, 177);
/* oklch */ color: oklch(52.1% 0.216 321.6);
Tailwind
colors: {
  custom: {
    50: '#bf70c9',
    500: '#9e28b1',
    950: '#000000',
  },
}
SCSS
$custom: #9e28b1;
$custom-light: #bf70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e28b1",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 291.679,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.21577,
    "h": 321.6
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#9E28B1
secondary
#7AC76E
accent
#E64258
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E28B1

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

Preview Lab → · Contrast checker → · Palette generator →

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