#9B28AE#9B28AE

#9B28AE is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.212 H 321.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9B28AE
RGBrgb(155, 40, 174)
HSLhsl(291, 63%, 42%)
HSVhsv(291, 77%, 68%)
CMYKcmyk(10.9%, 77%, 0%, 31.8%)
CIE-LABlab(40.48, 63.15, -47.17)
CIE-LCHlch(40.48, 78.82, 323.24°)
OKLaboklab(51.48% 0.1659 -0.1321)
OKLCHoklch(51.48% 0.212 321.5)
XYZxyz(21.9155, 11.5434, 41.1099)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B28AE #3BAE28
analogous
#5828AE #9B28AE #AE287E
triadic
#9B28AE #AE9B28 #28AE9B
tetradic
#9B28AE #AE5828 #3BAE28 #287EAE
square
#9B28AE #AE5828 #3BAE28 #287EAE
split-complementary
#9B28AE #7EAE28 #28AE58
monochromatic
#42114A #6F1D7C #9B28AE #BE40D3 #CF72DF

Accessibility & contrast

On white

6.35
#9B28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9B28AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B28AE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B28AE#FFFFFF#000000##FFFFFF
##9B28AE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#3A64AB
Tritanopia (blue-blind)
#9C436A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b28ae;
/* rgb */ color: rgb(155, 40, 174);
/* oklch */ color: oklch(51.5% 0.212 321.5);
Tailwind
colors: {
  custom: {
    50: '#bc6fc7',
    500: '#9b28ae',
    950: '#000000',
  },
}
SCSS
$custom: #9b28ae;
$custom-light: #bc6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b28ae",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 291.493,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.21211,
    "h": 321.5
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#9B28AE
secondary
#79C66C
accent
#E64259
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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