#9D4AAA#9D4AAA

#9D4AAA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.2% C 0.165 H 322.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9D4AAA
RGBrgb(157, 74, 170)
HSLhsl(292, 39%, 48%)
HSVhsv(292, 56%, 67%)
CMYKcmyk(7.6%, 56.5%, 0%, 33.3%)
CIE-LABlab(45.59, 48.82, -36.65)
CIE-LCHlch(45.59, 61.04, 323.10°)
OKLaboklab(55.15% 0.1303 -0.1016)
OKLCHoklch(55.15% 0.165 322.1)
XYZxyz(23.6083, 14.9691, 39.6682)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4AAA #57AA4A
analogous
#6D4AAA #9D4AAA #AA4A87
triadic
#9D4AAA #AA9D4A #4AAA9D
tetradic
#9D4AAA #AA6D4A #57AA4A #4A87AA
square
#9D4AAA #AA6D4A #57AA4A #4A87AA
split-complementary
#9D4AAA #87AA4A #4AAA6D
monochromatic
#4E2555 #76377F #9D4AAA #B670C1 #CC9BD3

Accessibility & contrast

On white

5.26
#9D4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9D4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4AAA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4AAA#FFFFFF#000000##FFFFFF
##9D4AAA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#556FA7
Tritanopia (blue-blind)
#9F5873
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d4aaa;
/* rgb */ color: rgb(157, 74, 170);
/* oklch */ color: oklch(55.2% 0.165 322.1);
Tailwind
colors: {
  custom: {
    50: '#bc81c4',
    500: '#9d4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9d4aaa;
$custom-light: #bc81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4aaa",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 291.875,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.16529,
    "h": 322.1
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#9D4AAA
secondary
#96C090
accent
#CF5969
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9D4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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