#9D3EB4#9D3EB4

#9D3EB4 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.192 H 319.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9D3EB4
RGBrgb(157, 62, 180)
HSLhsl(288, 49%, 47%)
HSVhsv(288, 66%, 71%)
CMYKcmyk(12.8%, 65.6%, 0%, 29.4%)
CIE-LABlab(44.10, 56.37, -44.91)
CIE-LCHlch(44.10, 72.07, 321.46°)
OKLaboklab(54.25% 0.1457 -0.1256)
OKLCHoklch(54.25% 0.192 319.2)
XYZxyz(23.8644, 13.9097, 44.5990)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EB4 #55B43E
analogous
#623EB4 #9D3EB4 #B43E90
triadic
#9D3EB4 #B49D3E #3EB49D
tetradic
#9D3EB4 #B4623E #55B43E #3E90B4
square
#9D3EB4 #B4623E #55B43E #3E90B4
split-complementary
#9D3EB4 #90B43E #3EB462
monochromatic
#4E1F59 #752E86 #9D3EB4 #B665CA #CC93DA

Accessibility & contrast

On white

5.55
#9D3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9D3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EB4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EB4#FFFFFF#000000##FFFFFF
##9D3EB41.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B8
Deuteranopia (green-blind)
#466BB1
Tritanopia (blue-blind)
#9D5374
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3eb4;
/* rgb */ color: rgb(157, 62, 180);
/* oklch */ color: oklch(54.3% 0.192 319.2);
Tailwind
colors: {
  custom: {
    50: '#bd7acb',
    500: '#9d3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #9d3eb4;
$custom-light: #bd7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3eb4",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 288.305,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54251,
    "c": 0.19238,
    "h": 319.2
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#9D3EB4
secondary
#95C589
accent
#D84F6A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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