#9D4FAF#9D4FAF

#9D4FAF is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.1% C 0.162 H 319.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9D4FAF
RGBrgb(157, 79, 175)
HSLhsl(289, 38%, 50%)
HSVhsv(289, 55%, 69%)
CMYKcmyk(10.3%, 54.9%, 0%, 31.4%)
CIE-LABlab(46.79, 47.31, -37.71)
CIE-LCHlch(46.79, 60.50, 321.44°)
OKLaboklab(56.11% 0.124 -0.1047)
OKLCHoklch(56.11% 0.162 319.8)
XYZxyz(24.4375, 15.8562, 42.3224)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FAF #61AF4F
analogous
#6D4FAF #9D4FAF #AF4F91
triadic
#9D4FAF #AF9D4F #4FAF9D
tetradic
#9D4FAF #AF6D4F #61AF4F #4F91AF
square
#9D4FAF #AF6D4F #61AF4F #4F91AF
split-complementary
#9D4FAF #91AF4F #4FAF6D
monochromatic
#51295B #773C85 #9D4FAF #B579C2 #CCA3D5

Accessibility & contrast

On white

5.03
#9D4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9D4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FAF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FAF#FFFFFF#000000##FFFFFF
##9D4FAF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#5672AC
Tritanopia (blue-blind)
#9E5D77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d4faf;
/* rgb */ color: rgb(157, 79, 175);
/* oklch */ color: oklch(56.1% 0.162 319.8);
Tailwind
colors: {
  custom: {
    50: '#bc84c7',
    500: '#9d4faf',
    950: '#000000',
  },
}
SCSS
$custom: #9d4faf;
$custom-light: #bc84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4faf",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 288.75,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.16234,
    "h": 319.8
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#9D4FAF
secondary
#9FC397
accent
#CE5A70
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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