#9C54BD#9C54BD

#9C54BD is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.5% C 0.169 H 314.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9C54BD
RGBrgb(156, 84, 189)
HSLhsl(281, 44%, 54%)
HSVhsv(281, 56%, 74%)
CMYKcmyk(17.5%, 55.6%, 0%, 25.9%)
CIE-LABlab(48.36, 47.41, -43.39)
CIE-LCHlch(48.36, 64.26, 317.54°)
OKLaboklab(57.49% 0.1171 -0.1213)
OKLCHoklch(57.49% 0.169 314)
XYZxyz(26.0644, 17.0834, 50.0587)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C54BD #75BD54
analogous
#6754BD #9C54BD #BD54A9
triadic
#9C54BD #BD9C54 #54BD9C
tetradic
#9C54BD #BD6754 #75BD54 #54A9BD
square
#9C54BD #BD6754 #75BD54 #54A9BD
split-complementary
#9C54BD #A9BD54 #54BD67
monochromatic
#582A6D #7B3B99 #9C54BD #B680CE #CFACDF

Accessibility & contrast

On white

4.75
#9C54BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9C54BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C54BD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C54BD#FFFFFF#000000##FFFFFF
##9C54BD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#5175BA
Tritanopia (blue-blind)
#996680
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c54bd;
/* rgb */ color: rgb(156, 84, 189);
/* oklch */ color: oklch(57.5% 0.169 314.0);
Tailwind
colors: {
  custom: {
    50: '#bc87d1',
    500: '#9c54bd',
    950: '#000000',
  },
}
SCSS
$custom: #9c54bd;
$custom-light: #bc87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c54bd",
  "rgb": {
    "r": 156,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 281.143,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.16862,
    "h": 314
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#9C54BD
secondary
#AECDA0
accent
#D4547C
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9C54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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