#9E28B0#9E28B0

#9E28B0 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.215 H 321.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9E28B0
RGBrgb(158, 40, 176)
HSLhsl(292, 63%, 42%)
HSVhsv(292, 77%, 69%)
CMYKcmyk(10.2%, 77.3%, 0%, 31%)
CIE-LABlab(41.09, 64.10, -47.35)
CIE-LCHlch(41.09, 79.70, 323.55°)
OKLaboklab(52.05% 0.1692 -0.1325)
OKLCHoklch(52.05% 0.215 321.9)
XYZxyz(22.6950, 11.9226, 42.1718)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E28B0 #3AB028
analogous
#5A28B0 #9E28B0 #B0287E
triadic
#9E28B0 #B09E28 #28B09E
tetradic
#9E28B0 #B05A28 #3AB028 #287EB0
square
#9E28B0 #B05A28 #3AB028 #287EB0
split-complementary
#9E28B0 #7EB028 #28B05A
monochromatic
#44114C #711D7E #9E28B0 #C041D4 #D173DF

Accessibility & contrast

On white

6.21
#9E28B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E28B0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E28B0#FFFFFF#000000##FFFFFF
##9E28B01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#A0446B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e28b0;
/* rgb */ color: rgb(158, 40, 176);
/* oklch */ color: oklch(52.1% 0.215 321.9);
Tailwind
colors: {
  custom: {
    50: '#bf70c8',
    500: '#9e28b0',
    950: '#000000',
  },
}
SCSS
$custom: #9e28b0;
$custom-light: #bf70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e28b0",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 292.059,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.21496,
    "h": 321.9
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#9E28B0
secondary
#79C66D
accent
#E64258
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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