#9D3EB7#9D3EB7

#9D3EB7 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.195 H 318.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9D3EB7
RGBrgb(157, 62, 183)
HSLhsl(287, 49%, 48%)
HSVhsv(287, 66%, 72%)
CMYKcmyk(14.2%, 66.1%, 0%, 28.2%)
CIE-LABlab(44.28, 56.96, -46.38)
CIE-LCHlch(44.28, 73.46, 320.84°)
OKLaboklab(54.44% 0.1457 -0.1299)
OKLCHoklch(54.44% 0.195 318.3)
XYZxyz(24.1733, 14.0333, 46.2259)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EB7 #58B73E
analogous
#603EB7 #9D3EB7 #B73E95
triadic
#9D3EB7 #B79D3E #3EB79D
tetradic
#9D3EB7 #B7603E #58B73E #3E95B7
square
#9D3EB7 #B7603E #58B73E #3E95B7
split-complementary
#9D3EB7 #95B73E #3EB760
monochromatic
#4F1F5C #762F89 #9D3EB7 #B667CB #CC94DB

Accessibility & contrast

On white

5.52
#9D3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9D3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EB7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EB7#FFFFFF#000000##FFFFFF
##9D3EB71.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1063BB
Deuteranopia (green-blind)
#446CB4
Tritanopia (blue-blind)
#9D5475
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3eb7;
/* rgb */ color: rgb(157, 62, 183);
/* oklch */ color: oklch(54.4% 0.195 318.3);
Tailwind
colors: {
  custom: {
    50: '#bd7acd',
    500: '#9d3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #9d3eb7;
$custom-light: #bd7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3eb7",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 287.107,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.19518,
    "h": 318.3
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#9D3EB7
secondary
#97C68A
accent
#D94F6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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