#9D4CC5#9D4CC5

#9D4CC5 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.190 H 312.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9D4CC5
RGBrgb(157, 76, 197)
HSLhsl(280, 51%, 54%)
HSVhsv(280, 61%, 77%)
CMYKcmyk(20.3%, 61.4%, 0%, 22.7%)
CIE-LABlab(47.45, 53.40, -49.46)
CIE-LCHlch(47.45, 72.79, 317.19°)
OKLaboklab(57% 0.1288 -0.139)
OKLCHoklch(57% 0.19 312.8)
XYZxyz(26.5654, 16.3689, 54.5726)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CC5 #74C54C
analogous
#604CC5 #9D4CC5 #C54CB1
triadic
#9D4CC5 #C59D4C #4CC59D
tetradic
#9D4CC5 #C5604C #74C54C #4CB1C5
square
#9D4CC5 #C5604C #74C54C #4CB1C5
split-complementary
#9D4CC5 #B1C54C #4CC560
monochromatic
#582572 #7C34A0 #9D4CC5 #B67AD4 #D0A8E3

Accessibility & contrast

On white

4.91
#9D4CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9D4CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CC5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CC5#FFFFFF#000000##FFFFFF
##9D4CC51.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6CC9
Deuteranopia (green-blind)
#4572C2
Tritanopia (blue-blind)
#996281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d4cc5;
/* rgb */ color: rgb(157, 76, 197);
/* oklch */ color: oklch(57.0% 0.190 312.8);
Tailwind
colors: {
  custom: {
    50: '#bd83d7',
    500: '#9d4cc5',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cc5;
$custom-light: #bd83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cc5",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 280.165,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.18951,
    "h": 312.8
  },
  "luminance": 0.16368
}

Semantic roles & 50–950 ramp

primary
#9D4CC5
secondary
#AED09C
accent
#DB4D7C
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D4CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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