#9B28AD#9B28AD

#9B28AD is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.211 H 321.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9B28AD
RGBrgb(155, 40, 173)
HSLhsl(292, 62%, 42%)
HSVhsv(292, 77%, 68%)
CMYKcmyk(10.4%, 76.9%, 0%, 32.2%)
CIE-LABlab(40.42, 62.97, -46.68)
CIE-LCHlch(40.42, 78.38, 323.45°)
OKLaboklab(51.42% 0.166 -0.1307)
OKLCHoklch(51.42% 0.211 321.8)
XYZxyz(21.8184, 11.5045, 40.5984)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B28AD #3AAD28
analogous
#5928AD #9B28AD #AD287D
triadic
#9B28AD #AD9B28 #28AD9B
tetradic
#9B28AD #AD5928 #3AAD28 #287DAD
square
#9B28AD #AD5928 #3AAD28 #287DAD
split-complementary
#9B28AD #7DAD28 #28AD59
monochromatic
#42114A #6E1D7B #9B28AD #BF3FD3 #CF71DE

Accessibility & contrast

On white

6.36
#9B28AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9B28AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B28AD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B28AD#FFFFFF#000000##FFFFFF
##9B28AD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#3B63AA
Tritanopia (blue-blind)
#9D436A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b28ad;
/* rgb */ color: rgb(155, 40, 173);
/* oklch */ color: oklch(51.4% 0.211 321.8);
Tailwind
colors: {
  custom: {
    50: '#bc6fc6',
    500: '#9b28ad',
    950: '#000000',
  },
}
SCSS
$custom: #9b28ad;
$custom-light: #bc6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b28ad",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 291.88,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.21129,
    "h": 321.8
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#9B28AD
secondary
#78C56C
accent
#E64258
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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