#9D3ABF#9D3ABF

#9D3ABF is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.5% C 0.208 H 316.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9D3ABF
RGBrgb(157, 58, 191)
HSLhsl(285, 53%, 49%)
HSVhsv(285, 70%, 75%)
CMYKcmyk(17.8%, 69.6%, 0%, 25.1%)
CIE-LABlab(44.17, 60.23, -51.24)
CIE-LCHlch(44.17, 79.08, 319.61°)
OKLaboklab(54.52% 0.1496 -0.1441)
OKLCHoklch(54.52% 0.208 316.1)
XYZxyz(24.8202, 13.9568, 50.6666)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ABF #5CBF3A
analogous
#5B3ABF #9D3ABF #BF3A9F
triadic
#9D3ABF #BF9D3A #3ABF9D
tetradic
#9D3ABF #BF5B3A #5CBF3A #3A9FBF
square
#9D3ABF #BF5B3A #5CBF3A #3A9FBF
split-complementary
#9D3ABF #9FBF3A #3ABF5B
monochromatic
#501D61 #762C90 #9D3ABF #B566D0 #CC95DF

Accessibility & contrast

On white

5.54
#9D3ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9D3ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3ABF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ABF#FFFFFF#000000##FFFFFF
##9D3ABF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#9B5578
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3abf;
/* rgb */ color: rgb(157, 58, 191);
/* oklch */ color: oklch(54.5% 0.208 316.1);
Tailwind
colors: {
  custom: {
    50: '#be78d3',
    500: '#9d3abf',
    950: '#000000',
  },
}
SCSS
$custom: #9d3abf;
$custom-light: #be78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3abf",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 284.662,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54515,
    "c": 0.20773,
    "h": 316.1
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#9D3ABF
secondary
#9BCA8B
accent
#DD4B70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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