#9D5ABE#9D5ABE

#9D5ABE is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.5% C 0.161 H 313.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9D5ABE
RGBrgb(157, 90, 190)
HSLhsl(280, 43%, 55%)
HSVhsv(280, 53%, 75%)
CMYKcmyk(17.4%, 52.6%, 0%, 25.5%)
CIE-LABlab(49.74, 44.74, -41.78)
CIE-LCHlch(49.74, 61.22, 316.96°)
OKLaboklab(58.54% 0.1103 -0.1166)
OKLCHoklch(58.54% 0.161 313.4)
XYZxyz(26.8535, 18.1988, 50.8033)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5ABE #7BBE5A
analogous
#6B5ABE #9D5ABE #BE5AAD
triadic
#9D5ABE #BE9D5A #5ABE9D
tetradic
#9D5ABE #BE6B5A #7BBE5A #5AADBE
square
#9D5ABE #BE6B5A #7BBE5A #5AADBE
split-complementary
#9D5ABE #ADBE5A #5ABE6B
monochromatic
#5A2D71 #7E3E9D #9D5ABE #B786CF #D1B2E1

Accessibility & contrast

On white

4.53
#9D5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9D5ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5ABE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5ABE#FFFFFF#000000##000000
##9D5ABE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C1
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#9A6A83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d5abe;
/* rgb */ color: rgb(157, 90, 190);
/* oklch */ color: oklch(58.5% 0.161 313.4);
Tailwind
colors: {
  custom: {
    50: '#bc8bd2',
    500: '#9d5abe',
    950: '#000000',
  },
}
SCSS
$custom: #9d5abe;
$custom-light: #bc8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5abe",
  "rgb": {
    "r": 157,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 280.2,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.16055,
    "h": 313.4
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

primary
#9D5ABE
secondary
#B3CFA5
accent
#D3557E
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9D5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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