#9D3BB8#9D3BB8

#9D3BB8 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.2% C 0.200 H 318.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9D3BB8
RGBrgb(157, 59, 184)
HSLhsl(287, 51%, 48%)
HSVhsv(287, 68%, 72%)
CMYKcmyk(14.7%, 67.9%, 0%, 27.8%)
CIE-LABlab(43.88, 58.43, -47.61)
CIE-LCHlch(43.88, 75.37, 320.83°)
OKLaboklab(54.17% 0.149 -0.1335)
OKLCHoklch(54.17% 0.2 318.2)
XYZxyz(24.1191, 13.7578, 46.7231)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BB8 #56B83B
analogous
#5F3BB8 #9D3BB8 #B83B94
triadic
#9D3BB8 #B89D3B #3BB89D
tetradic
#9D3BB8 #B85F3B #56B83B #3B94B8
square
#9D3BB8 #B85F3B #56B83B #3B94B8
split-complementary
#9D3BB8 #94B83B #3BB85F
monochromatic
#4E1D5B #752C8A #9D3BB8 #B663CD #CC92DC

Accessibility & contrast

On white

5.60
#9D3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9D3BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BB8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BB8#FFFFFF#000000##FFFFFF
##9D3BB81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#9C5275
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3bb8;
/* rgb */ color: rgb(157, 59, 184);
/* oklch */ color: oklch(54.2% 0.200 318.2);
Tailwind
colors: {
  custom: {
    50: '#bd79ce',
    500: '#9d3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bb8;
$custom-light: #bd79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bb8",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 287.04,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.20002,
    "h": 318.2
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#9D3BB8
secondary
#95C788
accent
#DB4D6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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