#9D3EB5#9D3EB5

#9D3EB5 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.193 H 318.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9D3EB5
RGBrgb(157, 62, 181)
HSLhsl(288, 49%, 48%)
HSVhsv(288, 66%, 71%)
CMYKcmyk(13.3%, 65.7%, 0%, 29%)
CIE-LABlab(44.16, 56.56, -45.40)
CIE-LCHlch(44.16, 72.53, 321.25°)
OKLaboklab(54.31% 0.1457 -0.127)
OKLCHoklch(54.31% 0.193 318.9)
XYZxyz(23.9666, 13.9506, 45.1374)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EB5 #56B53E
analogous
#613EB5 #9D3EB5 #B53E92
triadic
#9D3EB5 #B59D3E #3EB59D
tetradic
#9D3EB5 #B5613E #56B53E #3E92B5
square
#9D3EB5 #B5613E #56B53E #3E92B5
split-complementary
#9D3EB5 #92B53E #3EB561
monochromatic
#4E1F5A #752E87 #9D3EB5 #B666CA #CC93DA

Accessibility & contrast

On white

5.54
#9D3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9D3EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EB5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EB5#FFFFFF#000000##FFFFFF
##9D3EB51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1562B9
Deuteranopia (green-blind)
#456CB2
Tritanopia (blue-blind)
#9D5374
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3eb5;
/* rgb */ color: rgb(157, 62, 181);
/* oklch */ color: oklch(54.3% 0.193 318.9);
Tailwind
colors: {
  custom: {
    50: '#bd7acc',
    500: '#9d3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #9d3eb5;
$custom-light: #bd7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3eb5",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 287.899,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.19332,
    "h": 318.9
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#9D3EB5
secondary
#95C589
accent
#D94F6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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