#9D4DCF#9D4DCF

#9D4DCF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.8% C 0.198 H 309.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9D4DCF
RGBrgb(157, 77, 207)
HSLhsl(277, 58%, 56%)
HSVhsv(277, 63%, 81%)
CMYKcmyk(24.2%, 62.8%, 0%, 18.8%)
CIE-LABlab(48.24, 55.09, -53.97)
CIE-LCHlch(48.24, 77.12, 315.59°)
OKLaboklab(57.76% 0.1274 -0.1522)
OKLCHoklch(57.76% 0.198 309.9)
XYZxyz(27.8188, 16.9814, 60.8316)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DCF #7FCF4D
analogous
#5C4DCF #9D4DCF #CF4DC0
triadic
#9D4DCF #CF9D4D #4DCF9D
tetradic
#9D4DCF #CF5C4D #7FCF4D #4DC0CF
square
#9D4DCF #CF5C4D #7FCF4D #4DC0CF
split-complementary
#9D4DCF #C0CF4D #4DCF5C
monochromatic
#5C227F #7E2FAF #9D4DCF #B87DDC #D2ADE9

Accessibility & contrast

On white

4.78
#9D4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9D4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DCF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DCF#FFFFFF#000000##FFFFFF
##9D4DCF1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056FD3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#966787
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4dcf;
/* rgb */ color: rgb(157, 77, 207);
/* oklch */ color: oklch(57.8% 0.198 309.9);
Tailwind
colors: {
  custom: {
    50: '#be83de',
    500: '#9d4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dcf;
$custom-light: #be83de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dcf",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 276.923,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57758,
    "c": 0.19848,
    "h": 309.9
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#9D4DCF
secondary
#B6D7A1
accent
#E14782
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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