#9F28AE#9F28AE

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

Color values

HEX#9F28AE
RGBrgb(159, 40, 174)
HSLhsl(293, 63%, 42%)
HSVhsv(293, 77%, 68%)
CMYKcmyk(8.6%, 77%, 0%, 31.8%)
CIE-LABlab(41.13, 63.95, -46.10)
CIE-LCHlch(41.13, 78.83, 324.22°)
OKLaboklab(52.07% 0.1706 -0.1288)
OKLCHoklch(52.07% 0.214 322.9)
XYZxyz(22.6961, 11.9459, 41.1465)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F28AE #37AE28
analogous
#5C28AE #9F28AE #AE287A
triadic
#9F28AE #AE9F28 #28AE9F
tetradic
#9F28AE #AE5C28 #37AE28 #287AAE
square
#9F28AE #AE5C28 #37AE28 #287AAE
split-complementary
#9F28AE #7AAE28 #28AE5C
monochromatic
#44114A #721D7C #9F28AE #C340D3 #D272DF

Accessibility & contrast

On white

6.20
#9F28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F28AE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F28AE#FFFFFF#000000##FFFFFF
##9F28AE1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3F65AB
Tritanopia (blue-blind)
#A1426A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f28ae;
/* rgb */ color: rgb(159, 40, 174);
/* oklch */ color: oklch(52.1% 0.214 322.9);
Tailwind
colors: {
  custom: {
    50: '#bf70c7',
    500: '#9f28ae',
    950: '#000000',
  },
}
SCSS
$custom: #9f28ae;
$custom-light: #bf70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f28ae",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 293.284,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5207,
    "c": 0.21375,
    "h": 322.9
  },
  "luminance": 0.11945
}

Semantic roles & 50–950 ramp

primary
#9F28AE
secondary
#76C66C
accent
#E64254
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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