#9D3ACD#9D3ACD

#9D3ACD is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.221 H 312.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9D3ACD
RGBrgb(157, 58, 205)
HSLhsl(280, 60%, 52%)
HSVhsv(280, 72%, 80%)
CMYKcmyk(23.4%, 71.7%, 0%, 19.6%)
CIE-LABlab(45.09, 63.08, -57.89)
CIE-LCHlch(45.09, 85.62, 317.45°)
OKLaboklab(55.46% 0.1482 -0.1636)
OKLCHoklch(55.46% 0.221 312.2)
XYZxyz(26.4351, 14.6027, 59.1718)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ACD #6ACD3A
analogous
#543ACD #9D3ACD #CD3AB4
triadic
#9D3ACD #CD9D3A #3ACD9D
tetradic
#9D3ACD #CD543A #6ACD3A #3AB4CD
square
#9D3ACD #CD543A #6ACD3A #3AB4CD
split-complementary
#9D3ACD #B4CD3A #3ACD54
monochromatic
#551C70 #7A29A1 #9D3ACD #B56BD9 #CE9CE6

Accessibility & contrast

On white

5.36
#9D3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9D3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3ACD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ACD#FFFFFF#000000##FFFFFF
##9D3ACD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#975A80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d3acd;
/* rgb */ color: rgb(157, 58, 205);
/* oklch */ color: oklch(55.5% 0.221 312.2);
Tailwind
colors: {
  custom: {
    50: '#be79dd',
    500: '#9d3acd',
    950: '#000000',
  },
}
SCSS
$custom: #9d3acd;
$custom-light: #be79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3acd",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 280.408,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.22072,
    "h": 312.2
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#9D3ACD
secondary
#A6D291
accent
#E34579
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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