#9D4FCD#9D4FCD

#9D4FCD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.194 H 310.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9D4FCD
RGBrgb(157, 79, 205)
HSLhsl(277, 56%, 56%)
HSVhsv(277, 61%, 80%)
CMYKcmyk(23.4%, 61.5%, 0%, 19.6%)
CIE-LABlab(48.47, 53.68, -52.45)
CIE-LCHlch(48.47, 75.05, 315.67°)
OKLaboklab(57.89% 0.1251 -0.1477)
OKLCHoklch(57.89% 0.194 310.2)
XYZxyz(27.7180, 17.1684, 59.5994)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FCD #7FCD4F
analogous
#5E4FCD #9D4FCD #CD4FBE
triadic
#9D4FCD #CD9D4F #4FCD9D
tetradic
#9D4FCD #CD5E4F #7FCD4F #4FBECD
square
#9D4FCD #CD5E4F #7FCD4F #4FBECD
split-complementary
#9D4FCD #BECD4F #4FCD5E
monochromatic
#5C247E #7E31AE #9D4FCD #B87FDB #D2AEE8

Accessibility & contrast

On white

4.74
#9D4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9D4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FCD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FCD#FFFFFF#000000##FFFFFF
##9D4FCD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1770D1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#976787
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4fcd;
/* rgb */ color: rgb(157, 79, 205);
/* oklch */ color: oklch(57.9% 0.194 310.2);
Tailwind
colors: {
  custom: {
    50: '#bd85dd',
    500: '#9d4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fcd;
$custom-light: #bd85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fcd",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 277.143,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.19357,
    "h": 310.2
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#9D4FCD
secondary
#B6D6A2
accent
#DF4982
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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