#9D4BC3#9D4BC3

#9D4BC3 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.189 H 313.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9D4BC3
RGBrgb(157, 75, 195)
HSLhsl(281, 50%, 53%)
HSVhsv(281, 62%, 76%)
CMYKcmyk(19.5%, 61.5%, 0%, 23.5%)
CIE-LABlab(47.16, 53.45, -48.78)
CIE-LCHlch(47.16, 72.37, 317.62°)
OKLaboklab(56.75% 0.1301 -0.137)
OKLCHoklch(56.75% 0.189 313.5)
XYZxyz(26.2694, 16.1411, 53.3509)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BC3 #71C34B
analogous
#614BC3 #9D4BC3 #C34BAD
triadic
#9D4BC3 #C39D4B #4BC39D
tetradic
#9D4BC3 #C3614B #71C34B #4BADC3
square
#9D4BC3 #C3614B #71C34B #4BADC3
split-complementary
#9D4BC3 #ADC34B #4BC361
monochromatic
#57256F #7C349D #9D4BC3 #B679D2 #CFA7E2

Accessibility & contrast

On white

4.97
#9D4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9D4BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BC3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BC3#FFFFFF#000000##FFFFFF
##9D4BC31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC7
Deuteranopia (green-blind)
#4572C0
Tritanopia (blue-blind)
#996180
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d4bc3;
/* rgb */ color: rgb(157, 75, 195);
/* oklch */ color: oklch(56.7% 0.189 313.5);
Tailwind
colors: {
  custom: {
    50: '#bd82d6',
    500: '#9d4bc3',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bc3;
$custom-light: #bd82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bc3",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 281,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56745,
    "c": 0.1889,
    "h": 313.5
  },
  "luminance": 0.1614
}

Semantic roles & 50–950 ramp

primary
#9D4BC3
secondary
#ABCF9B
accent
#DA4E7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D4BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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