#9D4DCC#9D4DCC

#9D4DCC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.6% C 0.195 H 310.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9D4DCC
RGBrgb(157, 77, 204)
HSLhsl(278, 55%, 55%)
HSVhsv(278, 62%, 80%)
CMYKcmyk(23%, 62.3%, 0%, 20%)
CIE-LABlab(48.05, 54.43, -52.54)
CIE-LCHlch(48.05, 75.65, 316.01°)
OKLaboklab(57.57% 0.1275 -0.148)
OKLCHoklch(57.57% 0.195 310.7)
XYZxyz(27.4555, 16.8361, 58.9184)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DCC #7CCC4D
analogous
#5D4DCC #9D4DCC #CC4DBC
triadic
#9D4DCC #CC9D4D #4DCC9D
tetradic
#9D4DCC #CC5D4D #7CCC4D #4DBCCC
square
#9D4DCC #CC5D4D #7CCC4D #4DBCCC
split-complementary
#9D4DCC #BCCC4D #4DCC5D
monochromatic
#5B237B #7E31AB #9D4DCC #B77DDA #D1ACE7

Accessibility & contrast

On white

4.81
#9D4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9D4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DCC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DCC#FFFFFF#000000##FFFFFF
##9D4DCC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ED0
Deuteranopia (green-blind)
#3F73C9
Tritanopia (blue-blind)
#976685
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4dcc;
/* rgb */ color: rgb(157, 77, 204);
/* oklch */ color: oklch(57.6% 0.195 310.7);
Tailwind
colors: {
  custom: {
    50: '#bd83dc',
    500: '#9d4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dcc;
$custom-light: #bd83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dcc",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 277.795,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.19536,
    "h": 310.7
  },
  "luminance": 0.16835
}

Semantic roles & 50–950 ramp

primary
#9D4DCC
secondary
#B3D5A0
accent
#DF4980
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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