#9D4ABE#9D4ABE

#9D4ABE is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.3% C 0.185 H 315.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9D4ABE
RGBrgb(157, 74, 190)
HSLhsl(283, 47%, 52%)
HSVhsv(283, 61%, 75%)
CMYKcmyk(17.4%, 61.1%, 0%, 25.5%)
CIE-LABlab(46.69, 52.88, -46.63)
CIE-LCHlch(46.69, 70.50, 318.60°)
OKLaboklab(56.31% 0.1313 -0.1307)
OKLCHoklch(56.31% 0.185 315.1)
XYZxyz(25.6462, 15.7842, 50.4009)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4ABE #6BBE4A
analogous
#634ABE #9D4ABE #BE4AA5
triadic
#9D4ABE #BE9D4A #4ABE9D
tetradic
#9D4ABE #BE634A #6BBE4A #4AA5BE
square
#9D4ABE #BE634A #6BBE4A #4AA5BE
split-complementary
#9D4ABE #A5BE4A #4ABE63
monochromatic
#552568 #7A3695 #9D4ABE #B577CE #CEA4DE

Accessibility & contrast

On white

5.05
#9D4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9D4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4ABE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4ABE#FFFFFF#000000##FFFFFF
##9D4ABE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#9B5F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d4abe;
/* rgb */ color: rgb(157, 74, 190);
/* oklch */ color: oklch(56.3% 0.185 315.1);
Tailwind
colors: {
  custom: {
    50: '#bd81d2',
    500: '#9d4abe',
    950: '#000000',
  },
}
SCSS
$custom: #9d4abe;
$custom-light: #bd81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4abe",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 282.931,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.18525,
    "h": 315.1
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#9D4ABE
secondary
#A7CB98
accent
#D75177
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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