#9D4CC2#9D4CC2

#9D4CC2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.186 H 313.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9D4CC2
RGBrgb(157, 76, 194)
HSLhsl(281, 49%, 53%)
HSVhsv(281, 61%, 76%)
CMYKcmyk(19.1%, 60.8%, 0%, 23.9%)
CIE-LABlab(47.28, 52.76, -48.01)
CIE-LCHlch(47.28, 71.33, 317.70°)
OKLaboklab(56.81% 0.1288 -0.1347)
OKLCHoklch(56.81% 0.186 313.7)
XYZxyz(26.2250, 16.2328, 52.7802)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CC2 #71C24C
analogous
#624CC2 #9D4CC2 #C24CAC
triadic
#9D4CC2 #C29D4C #4CC29D
tetradic
#9D4CC2 #C2624C #71C24C #4CACC2
square
#9D4CC2 #C2624C #71C24C #4CACC2
split-complementary
#9D4CC2 #ACC24C #4CC262
monochromatic
#57266E #7C359C #9D4CC2 #B67AD2 #CFA7E1

Accessibility & contrast

On white

4.95
#9D4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9D4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CC2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CC2#FFFFFF#000000##FFFFFF
##9D4CC21.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#9A6180
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d4cc2;
/* rgb */ color: rgb(157, 76, 194);
/* oklch */ color: oklch(56.8% 0.186 313.7);
Tailwind
colors: {
  custom: {
    50: '#bd82d5',
    500: '#9d4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cc2;
$custom-light: #bd82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cc2",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 281.186,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.18643,
    "h": 313.7
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#9D4CC2
secondary
#ABCE9B
accent
#D94F7A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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