#9D4FBB#9D4FBB

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

Color values

HEX#9D4FBB
RGBrgb(157, 79, 187)
HSLhsl(283, 44%, 52%)
HSVhsv(283, 58%, 73%)
CMYKcmyk(16%, 57.8%, 0%, 26.7%)
CIE-LABlab(47.43, 49.79, -43.70)
CIE-LCHlch(47.43, 66.25, 318.73°)
OKLaboklab(56.79% 0.1249 -0.1222)
OKLCHoklch(56.79% 0.175 315.6)
XYZxyz(25.6689, 16.3488, 48.8075)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FBB #6DBB4F
analogous
#674FBB #9D4FBB #BB4FA3
triadic
#9D4FBB #BB9D4F #4FBB9D
tetradic
#9D4FBB #BB674F #6DBB4F #4FA3BB
square
#9D4FBB #BB674F #6DBB4F #4FA3BB
split-complementary
#9D4FBB #A3BB4F #4FBB67
monochromatic
#562868 #7B3994 #9D4FBB #B67BCC #CEA7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4FBB#FFFFFF#000000##FFFFFF
##9D4FBB1.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)
#326CBE
Deuteranopia (green-blind)
#4F73B8
Tritanopia (blue-blind)
#9B617D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d4fbb;
/* rgb */ color: rgb(157, 79, 187);
/* oklch */ color: oklch(56.8% 0.175 315.6);
Tailwind
colors: {
  custom: {
    50: '#bd84d0',
    500: '#9d4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fbb;
$custom-light: #bd84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fbb",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 283.333,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.17469,
    "h": 315.6
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#9D4FBB
secondary
#A8CA9B
accent
#D45477
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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