#9D4EBE#9D4EBE

#9D4EBE is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.8% C 0.179 H 314.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9D4EBE
RGBrgb(157, 78, 190)
HSLhsl(282, 46%, 53%)
HSVhsv(282, 59%, 75%)
CMYKcmyk(17.4%, 58.9%, 0%, 25.5%)
CIE-LABlab(47.41, 50.92, -45.48)
CIE-LCHlch(47.41, 68.27, 318.23°)
OKLaboklab(56.84% 0.1263 -0.1273)
OKLCHoklch(56.84% 0.179 314.8)
XYZxyz(25.9218, 16.3354, 50.4928)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EBE #6FBE4E
analogous
#654EBE #9D4EBE #BE4EA7
triadic
#9D4EBE #BE9D4E #4EBE9D
tetradic
#9D4EBE #BE654E #6FBE4E #4EA7BE
square
#9D4EBE #BE654E #6FBE4E #4EA7BE
split-complementary
#9D4EBE #A7BE4E #4EBE65
monochromatic
#57276A #7B3897 #9D4EBE #B67BCE #CFA8DF

Accessibility & contrast

On white

4.92
#9D4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9D4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4EBE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EBE#FFFFFF#000000##FFFFFF
##9D4EBE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#4C73BB
Tritanopia (blue-blind)
#9A617F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d4ebe;
/* rgb */ color: rgb(157, 78, 190);
/* oklch */ color: oklch(56.8% 0.179 314.8);
Tailwind
colors: {
  custom: {
    50: '#bd84d2',
    500: '#9d4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ebe;
$custom-light: #bd84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ebe",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 282.321,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56836,
    "c": 0.17933,
    "h": 314.8
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#9D4EBE
secondary
#AACC9C
accent
#D65279
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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