#9D4DC8#9D4DC8

#9D4DC8 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.3% C 0.191 H 311.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9D4DC8
RGBrgb(157, 77, 200)
HSLhsl(279, 53%, 54%)
HSVhsv(279, 62%, 78%)
CMYKcmyk(21.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(47.81, 53.56, -50.62)
CIE-LCHlch(47.81, 73.70, 316.61°)
OKLaboklab(57.31% 0.1276 -0.1424)
OKLCHoklch(57.31% 0.191 311.9)
XYZxyz(26.9819, 16.6466, 56.4241)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DC8 #78C84D
analogous
#5F4DC8 #9D4DC8 #C84DB6
triadic
#9D4DC8 #C89D4D #4DC89D
tetradic
#9D4DC8 #C85F4D #78C84D #4DB6C8
square
#9D4DC8 #C85F4D #78C84D #4DB6C8
split-complementary
#9D4DC8 #B6C84D #4DC85F
monochromatic
#5A2476 #7D33A5 #9D4DC8 #B77CD6 #D0ABE5

Accessibility & contrast

On white

4.85
#9D4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9D4DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DC8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DC8#FFFFFF#000000##FFFFFF
##9D4DC81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCC
Deuteranopia (green-blind)
#4373C5
Tritanopia (blue-blind)
#986483
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d4dc8;
/* rgb */ color: rgb(157, 77, 200);
/* oklch */ color: oklch(57.3% 0.191 311.9);
Tailwind
colors: {
  custom: {
    50: '#bd83d9',
    500: '#9d4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dc8;
$custom-light: #bd83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dc8",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 279.024,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.19119,
    "h": 311.9
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#9D4DC8
secondary
#B1D29E
accent
#DC4C7E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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