#9B54BE#9B54BE

#9B54BE is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.169 H 313.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9B54BE
RGBrgb(155, 84, 190)
HSLhsl(280, 45%, 54%)
HSVhsv(280, 56%, 75%)
CMYKcmyk(18.4%, 55.8%, 0%, 25.5%)
CIE-LABlab(48.29, 47.36, -44.09)
CIE-LCHlch(48.29, 64.70, 317.05°)
OKLaboklab(57.43% 0.1159 -0.1234)
OKLCHoklch(57.43% 0.169 313.2)
XYZxyz(25.9806, 17.0276, 50.6233)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54BE #77BE54
analogous
#6654BE #9B54BE #BE54AC
triadic
#9B54BE #BE9B54 #54BE9B
tetradic
#9B54BE #BE6654 #77BE54 #54ACBE
square
#9B54BE #BE6654 #77BE54 #54ACBE
split-complementary
#9B54BE #ACBE54 #54BE66
monochromatic
#572A6E #7B3B9A #9B54BE #B580CF #CFADE0

Accessibility & contrast

On white

4.77
#9B54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9B54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B54BE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54BE#FFFFFF#000000##FFFFFF
##9B54BE1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#986681
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b54be;
/* rgb */ color: rgb(155, 84, 190);
/* oklch */ color: oklch(57.4% 0.169 313.2);
Tailwind
colors: {
  custom: {
    50: '#bb87d2',
    500: '#9b54be',
    950: '#000000',
  },
}
SCSS
$custom: #9b54be;
$custom-light: #bb87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54be",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 280.189,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.16931,
    "h": 313.2
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#9B54BE
secondary
#AFCEA0
accent
#D5537E
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9B54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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