#9D3EB8#9D3EB8

#9D3EB8 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.196 H 318.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9D3EB8
RGBrgb(157, 62, 184)
HSLhsl(287, 50%, 48%)
HSVhsv(287, 66%, 72%)
CMYKcmyk(14.7%, 66.3%, 0%, 27.8%)
CIE-LABlab(44.34, 57.16, -46.87)
CIE-LCHlch(44.34, 73.92, 320.64°)
OKLaboklab(54.5% 0.1457 -0.1313)
OKLCHoklch(54.5% 0.196 318)
XYZxyz(24.2778, 14.0751, 46.7760)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EB8 #59B83E
analogous
#603EB8 #9D3EB8 #B83E96
triadic
#9D3EB8 #B89D3E #3EB89D
tetradic
#9D3EB8 #B8603E #59B83E #3E96B8
square
#9D3EB8 #B8603E #59B83E #3E96B8
split-complementary
#9D3EB8 #96B83E #3EB860
monochromatic
#4F1F5C #762F8A #9D3EB8 #B667CC #CC95DB

Accessibility & contrast

On white

5.50
#9D3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9D3EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EB8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EB8#FFFFFF#000000##FFFFFF
##9D3EB81.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D63BC
Deuteranopia (green-blind)
#436CB5
Tritanopia (blue-blind)
#9C5476
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3eb8;
/* rgb */ color: rgb(157, 62, 184);
/* oklch */ color: oklch(54.5% 0.196 318.0);
Tailwind
colors: {
  custom: {
    50: '#bd7ace',
    500: '#9d3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #9d3eb8;
$custom-light: #bd7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3eb8",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 286.721,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.19612,
    "h": 318
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#9D3EB8
secondary
#98C78B
accent
#D94F6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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