#9F28D0#9F28D0

#9F28D0 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.4% C 0.242 H 313.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9F28D0
RGBrgb(159, 40, 208)
HSLhsl(283, 68%, 49%)
HSVhsv(283, 81%, 82%)
CMYKcmyk(23.6%, 80.8%, 0%, 18.4%)
CIE-LABlab(43.42, 70.26, -62.30)
CIE-LCHlch(43.42, 93.90, 318.44°)
OKLaboklab(54.41% 0.1654 -0.1764)
OKLCHoklch(54.41% 0.242 313.2)
XYZxyz(26.4400, 13.4434, 60.8643)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F28D0 #59D028
analogous
#4B28D0 #9F28D0 #D028AD
triadic
#9F28D0 #D09F28 #28D09F
tetradic
#9F28D0 #D04B28 #59D028 #28ADD0
square
#9F28D0 #D04B28 #59D028 #28ADD0
split-complementary
#9F28D0 #ADD028 #28D04B
monochromatic
#511469 #781E9D #9F28D0 #B757DF #CD8AE8

Accessibility & contrast

On white

5.69
#9F28D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9F28D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F28D0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F28D0#FFFFFF#000000##FFFFFF
##9F28D01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0669CD
Tritanopia (blue-blind)
#9A537E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f28d0;
/* rgb */ color: rgb(159, 40, 208);
/* oklch */ color: oklch(54.4% 0.242 313.2);
Tailwind
colors: {
  custom: {
    50: '#c172df',
    500: '#9f28d0',
    950: '#000000',
  },
}
SCSS
$custom: #9f28d0;
$custom-light: #c172df;
$custom-dark: #000000;
JSON
{
  "hex": "#9f28d0",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 208
  },
  "hsl": {
    "h": 282.5,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.24176,
    "h": 313.2
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#9F28D0
secondary
#99D282
accent
#EB3D70
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F28D0

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

Preview Lab → · Contrast checker → · Palette generator →

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