#9D3EA4#9D3EA4

#9D3EA4 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.3% C 0.178 H 324.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9D3EA4
RGBrgb(157, 62, 164)
HSLhsl(296, 45%, 44%)
HSVhsv(296, 62%, 64%)
CMYKcmyk(4.3%, 62.2%, 0%, 35.7%)
CIE-LABlab(43.20, 53.32, -36.86)
CIE-LCHlch(43.20, 64.82, 325.34°)
OKLaboklab(53.31% 0.1454 -0.1022)
OKLCHoklch(53.31% 0.178 324.9)
XYZxyz(22.3276, 13.2950, 36.5049)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EA4 #45A43E
analogous
#6A3EA4 #9D3EA4 #A43E78
triadic
#9D3EA4 #A49D3E #3EA49D
tetradic
#9D3EA4 #A46A3E #45A43E #3E78A4
square
#9D3EA4 #A46A3E #45A43E #3E78A4
split-complementary
#9D3EA4 #78A43E #3EA46A
monochromatic
#481C4B #722D78 #9D3EA4 #BB5DC2 #CE8AD3

Accessibility & contrast

On white

5.74
#9D3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9D3EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EA4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EA4#FFFFFF#000000##FFFFFF
##9D3EA41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#A04C6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3ea4;
/* rgb */ color: rgb(157, 62, 164);
/* oklch */ color: oklch(53.3% 0.178 324.9);
Tailwind
colors: {
  custom: {
    50: '#bd7abf',
    500: '#9d3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ea4;
$custom-light: #bd7abf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ea4",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 295.882,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.17772,
    "h": 324.9
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#9D3EA4
secondary
#85BD81
accent
#D5535C
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9D3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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