#9D3EA2#9D3EA2

#9D3EA2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.176 H 325.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9D3EA2
RGBrgb(157, 62, 162)
HSLhsl(297, 45%, 44%)
HSVhsv(297, 62%, 64%)
CMYKcmyk(3.1%, 61.7%, 0%, 36.5%)
CIE-LABlab(43.10, 52.95, -35.84)
CIE-LCHlch(43.10, 63.94, 325.91°)
OKLaboklab(53.2% 0.1453 -0.0992)
OKLCHoklch(53.2% 0.176 325.7)
XYZxyz(22.1484, 13.2233, 35.5612)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EA2 #43A23E
analogous
#6B3EA2 #9D3EA2 #A23E75
triadic
#9D3EA2 #A29D3E #3EA29D
tetradic
#9D3EA2 #A26B3E #43A23E #3E75A2
square
#9D3EA2 #A26B3E #43A23E #3E75A2
split-complementary
#9D3EA2 #75A23E #3EA26B
monochromatic
#471C49 #722D76 #9D3EA2 #BC5CC1 #CE89D2

Accessibility & contrast

On white

5.76
#9D3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9D3EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EA2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EA2#FFFFFF#000000##FFFFFF
##9D3EA21.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#A14C6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3ea2;
/* rgb */ color: rgb(157, 62, 162);
/* oklch */ color: oklch(53.2% 0.176 325.7);
Tailwind
colors: {
  custom: {
    50: '#bd7abe',
    500: '#9d3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ea2;
$custom-light: #bd7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ea2",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 297,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.17593,
    "h": 325.7
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#9D3EA2
secondary
#83BC80
accent
#D4535A
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9D3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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