#9D3ABB#9D3ABB

#9D3ABB is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.204 H 317.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9D3ABB
RGBrgb(157, 58, 187)
HSLhsl(286, 53%, 48%)
HSVhsv(286, 69%, 73%)
CMYKcmyk(16%, 69%, 0%, 26.7%)
CIE-LABlab(43.92, 59.44, -49.30)
CIE-LCHlch(43.92, 77.23, 320.32°)
OKLaboklab(54.26% 0.1499 -0.1384)
OKLCHoklch(54.26% 0.204 317.3)
XYZxyz(24.3860, 13.7831, 48.3799)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ABB #58BB3A
analogous
#5D3ABB #9D3ABB #BB3A98
triadic
#9D3ABB #BB9D3A #3ABB9D
tetradic
#9D3ABB #BB5D3A #58BB3A #3A98BB
square
#9D3ABB #BB5D3A #58BB3A #3A98BB
split-complementary
#9D3ABB #98BB3A #3ABB5D
monochromatic
#4F1D5E #762C8C #9D3ABB #B663CF #CC92DD

Accessibility & contrast

On white

5.59
#9D3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9D3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3ABB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ABB#FFFFFF#000000##FFFFFF
##9D3ABB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#9C5376
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3abb;
/* rgb */ color: rgb(157, 58, 187);
/* oklch */ color: oklch(54.3% 0.204 317.3);
Tailwind
colors: {
  custom: {
    50: '#be78d0',
    500: '#9d3abb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3abb;
$custom-light: #be78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3abb",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 286.047,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.20404,
    "h": 317.3
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#9D3ABB
secondary
#97C888
accent
#DC4C6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9D3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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