#9D5ABA#9D5ABA

#9D5ABA is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.3% C 0.156 H 314.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9D5ABA
RGBrgb(157, 90, 186)
HSLhsl(282, 41%, 54%)
HSVhsv(282, 52%, 73%)
CMYKcmyk(15.6%, 51.6%, 0%, 27.1%)
CIE-LABlab(49.53, 43.87, -39.80)
CIE-LCHlch(49.53, 59.23, 317.79°)
OKLaboklab(58.32% 0.1099 -0.1109)
OKLCHoklch(58.32% 0.156 314.8)
XYZxyz(26.4223, 18.0263, 48.5324)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5ABA #77BA5A
analogous
#6D5ABA #9D5ABA #BA5AA7
triadic
#9D5ABA #BA9D5A #5ABA9D
tetradic
#9D5ABA #BA6D5A #77BA5A #5AA7BA
square
#9D5ABA #BA6D5A #77BA5A #5AA7BA
split-complementary
#9D5ABA #A7BA5A #5ABA6D
monochromatic
#592D6C #7D3F97 #9D5ABA #B785CC #D0B0DE

Accessibility & contrast

On white

4.56
#9D5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9D5ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5ABA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5ABA#FFFFFF#000000##000000
##9D5ABA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#5978B7
Tritanopia (blue-blind)
#9B6982
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d5aba;
/* rgb */ color: rgb(157, 90, 186);
/* oklch */ color: oklch(58.3% 0.156 314.8);
Tailwind
colors: {
  custom: {
    50: '#bc8bcf',
    500: '#9d5aba',
    950: '#000000',
  },
}
SCSS
$custom: #9d5aba;
$custom-light: #bc8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5aba",
  "rgb": {
    "r": 157,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 281.875,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5832,
    "c": 0.15613,
    "h": 314.8
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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