#9A28BD#9A28BD

#9A28BD is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.224 H 316.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9A28BD
RGBrgb(154, 40, 189)
HSLhsl(286, 65%, 45%)
HSVhsv(286, 79%, 74%)
CMYKcmyk(18.5%, 78.8%, 0%, 25.9%)
CIE-LABlab(41.32, 65.74, -54.69)
CIE-LCHlch(41.32, 85.51, 320.24°)
OKLaboklab(52.36% 0.1628 -0.1542)
OKLCHoklch(52.36% 0.224 316.5)
XYZxyz(23.2691, 12.0627, 49.2369)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A28BD #4BBD28
analogous
#4F28BD #9A28BD #BD2896
triadic
#9A28BD #BD9A28 #28BD9A
tetradic
#9A28BD #BD4F28 #4BBD28 #2896BD
square
#9A28BD #BD4F28 #4BBD28 #2896BD
split-complementary
#9A28BD #96BD28 #28BD4F
monochromatic
#481358 #711D8A #9A28BD #B74AD9 #CB7CE3

Accessibility & contrast

On white

6.15
#9A28BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9A28BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A28BD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A28BD#FFFFFF#000000##FFFFFF
##9A28BD1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#984B73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a28bd;
/* rgb */ color: rgb(154, 40, 189);
/* oklch */ color: oklch(52.4% 0.224 316.5);
Tailwind
colors: {
  custom: {
    50: '#bc70d2',
    500: '#9a28bd',
    950: '#000000',
  },
}
SCSS
$custom: #9a28bd;
$custom-light: #bc70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a28bd",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 285.906,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.2242,
    "h": 316.5
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#9A28BD
secondary
#8ACB75
accent
#E84067
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9A28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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