#9D4DD7#9D4DD7

#9D4DD7 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.207 H 307.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9D4DD7
RGBrgb(157, 77, 215)
HSLhsl(275, 63%, 57%)
HSVhsv(275, 64%, 84%)
CMYKcmyk(27%, 64.2%, 0%, 15.7%)
CIE-LABlab(48.74, 56.87, -57.74)
CIE-LCHlch(48.74, 81.04, 314.57°)
OKLaboklab(58.28% 0.127 -0.1633)
OKLCHoklch(58.28% 0.207 307.9)
XYZxyz(28.8217, 17.3826, 66.1136)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DD7 #87D74D
analogous
#584DD7 #9D4DD7 #D74DCC
triadic
#9D4DD7 #D79D4D #4DD79D
tetradic
#9D4DD7 #D7584D #87D74D #4DCCD7
square
#9D4DD7 #D7584D #87D74D #4DCCD7
split-complementary
#9D4DD7 #CCD74D #4DD758
monochromatic
#5D1F8A #7F2ABC #9D4DD7 #B97FE2 #D4B1ED

Accessibility & contrast

On white

4.69
#9D4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9D4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DD7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DD7#FFFFFF#000000##FFFFFF
##9D4DD71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#3375D4
Tritanopia (blue-blind)
#946A8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4dd7;
/* rgb */ color: rgb(157, 77, 215);
/* oklch */ color: oklch(58.3% 0.207 307.9);
Tailwind
colors: {
  custom: {
    50: '#be84e4',
    500: '#9d4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dd7;
$custom-light: #be84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dd7",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 274.783,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.20684,
    "h": 307.9
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#9D4DD7
secondary
#BBDCA4
accent
#E64187
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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