#9D4DBE#9D4DBE

#9D4DBE is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.7% C 0.181 H 314.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9D4DBE
RGBrgb(157, 77, 190)
HSLhsl(282, 47%, 52%)
HSVhsv(282, 59%, 75%)
CMYKcmyk(17.4%, 59.5%, 0%, 25.5%)
CIE-LABlab(47.23, 51.42, -45.77)
CIE-LCHlch(47.23, 68.84, 318.33°)
OKLaboklab(56.7% 0.1275 -0.1282)
OKLCHoklch(56.7% 0.181 314.9)
XYZxyz(25.8513, 16.1944, 50.4693)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DBE #6EBE4D
analogous
#654DBE #9D4DBE #BE4DA6
triadic
#9D4DBE #BE9D4D #4DBE9D
tetradic
#9D4DBE #BE654D #6EBE4D #4DA6BE
square
#9D4DBE #BE654D #6EBE4D #4DA6BE
split-complementary
#9D4DBE #A6BE4D #4DBE65
monochromatic
#56276A #7B3797 #9D4DBE #B67ACE #CEA7DF

Accessibility & contrast

On white

4.95
#9D4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9D4DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DBE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DBE#FFFFFF#000000##FFFFFF
##9D4DBE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#9B617E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d4dbe;
/* rgb */ color: rgb(157, 77, 190);
/* oklch */ color: oklch(56.7% 0.181 314.9);
Tailwind
colors: {
  custom: {
    50: '#bd83d2',
    500: '#9d4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dbe;
$custom-light: #bd83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dbe",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 282.478,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.18082,
    "h": 314.9
  },
  "luminance": 0.16194
}

Semantic roles & 50–950 ramp

primary
#9D4DBE
secondary
#A9CC9B
accent
#D65278
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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