#9E28D0#9E28D0

#9E28D0 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.3% C 0.241 H 312.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9E28D0
RGBrgb(158, 40, 208)
HSLhsl(282, 68%, 49%)
HSVhsv(282, 81%, 82%)
CMYKcmyk(24%, 80.8%, 0%, 18.4%)
CIE-LABlab(43.27, 70.09, -62.55)
CIE-LCHlch(43.27, 93.94, 318.25°)
OKLaboklab(54.28% 0.1641 -0.1771)
OKLCHoklch(54.28% 0.241 312.8)
XYZxyz(26.2424, 13.3416, 60.8551)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E28D0 #5AD028
analogous
#4A28D0 #9E28D0 #D028AE
triadic
#9E28D0 #D09E28 #28D09E
tetradic
#9E28D0 #D04A28 #5AD028 #28AED0
square
#9E28D0 #D04A28 #5AD028 #28AED0
split-complementary
#9E28D0 #AED028 #28D04A
monochromatic
#501469 #771E9D #9E28D0 #B657DF #CC8AE8

Accessibility & contrast

On white

5.72
#9E28D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9E28D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E28D0
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E28D0#FFFFFF#000000##FFFFFF
##9E28D01.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0069CD
Tritanopia (blue-blind)
#98537E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e28d0;
/* rgb */ color: rgb(158, 40, 208);
/* oklch */ color: oklch(54.3% 0.241 312.8);
Tailwind
colors: {
  custom: {
    50: '#c071df',
    500: '#9e28d0',
    950: '#000000',
  },
}
SCSS
$custom: #9e28d0;
$custom-light: #c071df;
$custom-dark: #000000;
JSON
{
  "hex": "#9e28d0",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 208
  },
  "hsl": {
    "h": 282.143,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.24146,
    "h": 312.8
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#9E28D0
secondary
#9AD282
accent
#EB3D71
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E28D0

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

Preview Lab → · Contrast checker → · Palette generator →

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