#9D4CD1#9D4CD1

#9D4CD1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.202 H 309.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9D4CD1
RGBrgb(157, 76, 209)
HSLhsl(277, 59%, 56%)
HSVhsv(277, 64%, 82%)
CMYKcmyk(24.9%, 63.6%, 0%, 18%)
CIE-LABlab(48.19, 56.01, -55.20)
CIE-LCHlch(48.19, 78.64, 315.42°)
OKLaboklab(57.76% 0.1285 -0.1558)
OKLCHoklch(57.76% 0.202 309.5)
XYZxyz(27.9954, 16.9409, 62.1044)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CD1 #80D14C
analogous
#5A4CD1 #9D4CD1 #D14CC3
triadic
#9D4CD1 #D19D4C #4CD19D
tetradic
#9D4CD1 #D15A4C #80D14C #4CC3D1
square
#9D4CD1 #D15A4C #80D14C #4CC3D1
split-complementary
#9D4CD1 #C3D14C #4CD15A
monochromatic
#5C2181 #7E2EB2 #9D4CD1 #B87DDE #D2ADEA

Accessibility & contrast

On white

4.79
#9D4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9D4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CD1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CD1#FFFFFF#000000##FFFFFF
##9D4CD11.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#3974CE
Tritanopia (blue-blind)
#966788
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4cd1;
/* rgb */ color: rgb(157, 76, 209);
/* oklch */ color: oklch(57.8% 0.202 309.5);
Tailwind
colors: {
  custom: {
    50: '#be83e0',
    500: '#9d4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cd1;
$custom-light: #be83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cd1",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 276.541,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.20194,
    "h": 309.5
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#9D4CD1
secondary
#B6D8A1
accent
#E24683
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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