#9D4DCD#9D4DCD

#9D4DCD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.196 H 310.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9D4DCD
RGBrgb(157, 77, 205)
HSLhsl(278, 56%, 55%)
HSVhsv(278, 62%, 80%)
CMYKcmyk(23.4%, 62.4%, 0%, 19.6%)
CIE-LABlab(48.11, 54.65, -53.02)
CIE-LCHlch(48.11, 76.14, 315.87°)
OKLaboklab(57.63% 0.1275 -0.1494)
OKLCHoklch(57.63% 0.196 310.5)
XYZxyz(27.5759, 16.8842, 59.5521)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DCD #7DCD4D
analogous
#5D4DCD #9D4DCD #CD4DBD
triadic
#9D4DCD #CD9D4D #4DCD9D
tetradic
#9D4DCD #CD5D4D #7DCD4D #4DBDCD
square
#9D4DCD #CD5D4D #7DCD4D #4DBDCD
split-complementary
#9D4DCD #BDCD4D #4DCD5D
monochromatic
#5B237D #7E30AC #9D4DCD #B77DDA #D2ADE8

Accessibility & contrast

On white

4.80
#9D4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9D4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DCD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DCD#FFFFFF#000000##FFFFFF
##9D4DCD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6FD1
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#976686
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4dcd;
/* rgb */ color: rgb(157, 77, 205);
/* oklch */ color: oklch(57.6% 0.196 310.5);
Tailwind
colors: {
  custom: {
    50: '#bd83dd',
    500: '#9d4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dcd;
$custom-light: #bd83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dcd",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 277.5,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.1964,
    "h": 310.5
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#9D4DCD
secondary
#B4D6A0
accent
#DF4881
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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