#9D4BC5#9D4BC5

#9D4BC5 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.9% C 0.191 H 312.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9D4BC5
RGBrgb(157, 75, 197)
HSLhsl(280, 51%, 53%)
HSVhsv(280, 62%, 77%)
CMYKcmyk(20.3%, 61.9%, 0%, 22.7%)
CIE-LABlab(47.28, 53.88, -49.75)
CIE-LCHlch(47.28, 73.33, 317.29°)
OKLaboklab(56.87% 0.1301 -0.1398)
OKLCHoklch(56.87% 0.191 312.9)
XYZxyz(26.4970, 16.2322, 54.5498)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BC5 #73C54B
analogous
#604BC5 #9D4BC5 #C54BB0
triadic
#9D4BC5 #C59D4B #4BC59D
tetradic
#9D4BC5 #C5604B #73C54B #4BB0C5
square
#9D4BC5 #C5604B #73C54B #4BB0C5
split-complementary
#9D4BC5 #B0C54B #4BC560
monochromatic
#582471 #7C339F #9D4BC5 #B679D4 #CFA8E3

Accessibility & contrast

On white

4.95
#9D4BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9D4BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BC5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BC5#FFFFFF#000000##FFFFFF
##9D4BC51.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6CC9
Deuteranopia (green-blind)
#4472C2
Tritanopia (blue-blind)
#996281
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d4bc5;
/* rgb */ color: rgb(157, 75, 197);
/* oklch */ color: oklch(56.9% 0.191 312.9);
Tailwind
colors: {
  custom: {
    50: '#bd82d7',
    500: '#9d4bc5',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bc5;
$custom-light: #bd82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bc5",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 280.328,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.19095,
    "h": 312.9
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

primary
#9D4BC5
secondary
#ADD09C
accent
#DB4D7C
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D4BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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