#9D3EA3#9D3EA3

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

Color values

HEX#9D3EA3
RGBrgb(157, 62, 163)
HSLhsl(296, 45%, 44%)
HSVhsv(296, 62%, 64%)
CMYKcmyk(3.7%, 62%, 0%, 36.1%)
CIE-LABlab(43.15, 53.14, -36.35)
CIE-LCHlch(43.15, 64.38, 325.62°)
OKLaboklab(53.25% 0.1454 -0.1007)
OKLCHoklch(53.25% 0.177 325.3)
XYZxyz(22.2376, 13.2590, 36.0312)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EA3 #44A33E
analogous
#6B3EA3 #9D3EA3 #A33E77
triadic
#9D3EA3 #A39D3E #3EA39D
tetradic
#9D3EA3 #A36B3E #44A33E #3E77A3
square
#9D3EA3 #A36B3E #44A33E #3E77A3
split-complementary
#9D3EA3 #77A33E #3EA36B
monochromatic
#481C4A #722D77 #9D3EA3 #BB5DC1 #CE89D2

Accessibility & contrast

On white

5.75
#9D3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9D3EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EA3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EA3#FFFFFF#000000##FFFFFF
##9D3EA31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA6
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#A14C6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3ea3;
/* rgb */ color: rgb(157, 62, 163);
/* oklch */ color: oklch(53.3% 0.177 325.3);
Tailwind
colors: {
  custom: {
    50: '#bd7abe',
    500: '#9d3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ea3;
$custom-light: #bd7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ea3",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 296.436,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.17682,
    "h": 325.3
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#9D3EA3
secondary
#84BD80
accent
#D5535B
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9D3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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