#9D4CD6#9D4CD6

#9D4CD6 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.207 H 308.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9D4CD6
RGBrgb(157, 76, 214)
HSLhsl(275, 63%, 57%)
HSVhsv(275, 64%, 84%)
CMYKcmyk(26.6%, 64.5%, 0%, 16.1%)
CIE-LABlab(48.50, 57.12, -57.55)
CIE-LCHlch(48.50, 81.09, 314.79°)
OKLaboklab(58.09% 0.1282 -0.1627)
OKLCHoklch(58.09% 0.207 308.2)
XYZxyz(28.6242, 17.1925, 65.4158)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CD6 #85D64C
analogous
#584CD6 #9D4CD6 #D64CCA
triadic
#9D4CD6 #D69D4C #4CD69D
tetradic
#9D4CD6 #D6584C #85D64C #4CCAD6
square
#9D4CD6 #D6584C #85D64C #4CCAD6
split-complementary
#9D4CD6 #CAD64C #4CD658
monochromatic
#5D1F88 #7F2BBA #9D4CD6 #B87EE1 #D4B0ED

Accessibility & contrast

On white

4.73
#9D4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9D4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CD6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CD6#FFFFFF#000000##FFFFFF
##9D4CD61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#3374D3
Tritanopia (blue-blind)
#94698A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4cd6;
/* rgb */ color: rgb(157, 76, 214);
/* oklch */ color: oklch(58.1% 0.207 308.2);
Tailwind
colors: {
  custom: {
    50: '#be83e3',
    500: '#9d4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cd6;
$custom-light: #be83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cd6",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 275.217,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.20714,
    "h": 308.2
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#9D4CD6
secondary
#BADBA3
accent
#E64286
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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