#9D4FC0#9D4FC0

#9D4FC0 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.1% C 0.180 H 314.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9D4FC0
RGBrgb(157, 79, 192)
HSLhsl(281, 47%, 53%)
HSVhsv(281, 59%, 75%)
CMYKcmyk(18.2%, 58.9%, 0%, 24.7%)
CIE-LABlab(47.71, 50.85, -46.16)
CIE-LCHlch(47.71, 68.68, 317.77°)
OKLaboklab(57.09% 0.125 -0.1294)
OKLCHoklch(57.09% 0.18 314)
XYZxyz(26.2135, 16.5666, 51.6758)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FC0 #72C04F
analogous
#644FC0 #9D4FC0 #C04FAA
triadic
#9D4FC0 #C09D4F #4FC09D
tetradic
#9D4FC0 #C0644F #72C04F #4FAAC0
square
#9D4FC0 #C0644F #72C04F #4FAAC0
split-complementary
#9D4FC0 #AAC04F #4FC064
monochromatic
#58276D #7C379A #9D4FC0 #B67CD0 #CFA9E0

Accessibility & contrast

On white

4.87
#9D4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9D4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FC0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FC0#FFFFFF#000000##FFFFFF
##9D4FC01.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC4
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#9A6380
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d4fc0;
/* rgb */ color: rgb(157, 79, 192);
/* oklch */ color: oklch(57.1% 0.180 314.0);
Tailwind
colors: {
  custom: {
    50: '#bd84d3',
    500: '#9d4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fc0;
$custom-light: #bd84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fc0",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 281.416,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57089,
    "c": 0.17991,
    "h": 314
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#9D4FC0
secondary
#ACCE9D
accent
#D7517A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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