#9D4EAF#9D4EAF

#9D4EAF is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.0% C 0.164 H 319.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9D4EAF
RGBrgb(157, 78, 175)
HSLhsl(289, 38%, 50%)
HSVhsv(289, 55%, 69%)
CMYKcmyk(10.3%, 55.4%, 0%, 31.4%)
CIE-LABlab(46.60, 47.82, -38.01)
CIE-LCHlch(46.60, 61.08, 321.52°)
OKLaboklab(55.97% 0.1254 -0.1056)
OKLCHoklch(55.97% 0.164 319.9)
XYZxyz(24.3659, 15.7130, 42.2986)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EAF #60AF4E
analogous
#6D4EAF #9D4EAF #AF4E91
triadic
#9D4EAF #AF9D4E #4EAF9D
tetradic
#9D4EAF #AF6D4E #60AF4E #4E91AF
square
#9D4EAF #AF6D4E #60AF4E #4E91AF
split-complementary
#9D4EAF #91AF4E #4EAF6D
monochromatic
#51285A #773B85 #9D4EAF #B578C3 #CCA2D6

Accessibility & contrast

On white

5.07
#9D4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9D4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4EAF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EAF#FFFFFF#000000##FFFFFF
##9D4EAF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#9E5C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d4eaf;
/* rgb */ color: rgb(157, 78, 175);
/* oklch */ color: oklch(56.0% 0.164 319.9);
Tailwind
colors: {
  custom: {
    50: '#bc83c7',
    500: '#9d4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9d4eaf;
$custom-light: #bc83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4eaf",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 288.866,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55975,
    "c": 0.16393,
    "h": 319.9
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#9D4EAF
secondary
#9EC396
accent
#CE5A6F
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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