#9D4AA2#9D4AA2

#9D4AA2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.7% C 0.158 H 325.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9D4AA2
RGBrgb(157, 74, 162)
HSLhsl(297, 37%, 46%)
HSVhsv(297, 54%, 64%)
CMYKcmyk(3.1%, 54.3%, 0%, 36.5%)
CIE-LABlab(45.19, 47.28, -32.55)
CIE-LCHlch(45.19, 57.40, 325.45°)
OKLaboklab(54.73% 0.1295 -0.0898)
OKLCHoklch(54.73% 0.158 325.3)
XYZxyz(22.8745, 14.6755, 35.8032)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4AA2 #4FA24A
analogous
#714AA2 #9D4AA2 #A24A7B
triadic
#9D4AA2 #A29D4A #4AA29D
tetradic
#9D4AA2 #A2714A #4FA24A #4A7BA2
square
#9D4AA2 #A2714A #4FA24A #4A7BA2
split-complementary
#9D4AA2 #7BA24A #4AA271
monochromatic
#4C244E #743778 #9D4AA2 #B86DBC #CC97CF

Accessibility & contrast

On white

5.34
#9D4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9D4AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4AA2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4AA2#FFFFFF#000000##FFFFFF
##9D4AA21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#596F9F
Tritanopia (blue-blind)
#A0556F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d4aa2;
/* rgb */ color: rgb(157, 74, 162);
/* oklch */ color: oklch(54.7% 0.158 325.3);
Tailwind
colors: {
  custom: {
    50: '#bc80be',
    500: '#9d4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4aa2;
$custom-light: #bc80be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4aa2",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 296.591,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.15758,
    "h": 325.3
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#9D4AA2
secondary
#8FBC8C
accent
#CD5B61
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9D4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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