#9C5ABA#9C5ABA

#9C5ABA is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.2% C 0.156 H 314.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9C5ABA
RGBrgb(156, 90, 186)
HSLhsl(281, 41%, 54%)
HSVhsv(281, 52%, 73%)
CMYKcmyk(16.1%, 51.6%, 0%, 27.1%)
CIE-LABlab(49.41, 43.60, -40.00)
CIE-LCHlch(49.41, 59.16, 317.47°)
OKLaboklab(58.2% 0.1087 -0.1115)
OKLCHoklch(58.2% 0.156 314.3)
XYZxyz(26.2280, 17.9261, 48.5233)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5ABA #78BA5A
analogous
#6C5ABA #9C5ABA #BA5AA8
triadic
#9C5ABA #BA9C5A #5ABA9C
tetradic
#9C5ABA #BA6C5A #78BA5A #5AA8BA
square
#9C5ABA #BA6C5A #78BA5A #5AA8BA
split-complementary
#9C5ABA #A8BA5A #5ABA6C
monochromatic
#592D6C #7C3F97 #9C5ABA #B685CC #D0B0DE

Accessibility & contrast

On white

4.58
#9C5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9C5ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5ABA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5ABA#FFFFFF#000000##000000
##9C5ABA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#9A6982
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c5aba;
/* rgb */ color: rgb(156, 90, 186);
/* oklch */ color: oklch(58.2% 0.156 314.3);
Tailwind
colors: {
  custom: {
    50: '#bb8bcf',
    500: '#9c5aba',
    950: '#000000',
  },
}
SCSS
$custom: #9c5aba;
$custom-light: #bb8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5aba",
  "rgb": {
    "r": 156,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 281.25,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.1557,
    "h": 314.3
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#9C5ABA
secondary
#B0CCA3
accent
#D1577D
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9C5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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