#9D3AC5#9D3AC5

#9D3AC5 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.213 H 314.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9D3AC5
RGBrgb(157, 58, 197)
HSLhsl(283, 55%, 50%)
HSVhsv(283, 71%, 77%)
CMYKcmyk(20.3%, 70.6%, 0%, 22.7%)
CIE-LABlab(44.56, 61.44, -54.11)
CIE-LCHlch(44.56, 81.87, 318.63°)
OKLaboklab(54.91% 0.1491 -0.1525)
OKLCHoklch(54.91% 0.213 314.3)
XYZxyz(25.4940, 14.2263, 54.2155)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3AC5 #62C53A
analogous
#583AC5 #9D3AC5 #C53AA7
triadic
#9D3AC5 #C59D3A #3AC59D
tetradic
#9D3AC5 #C5583A #62C53A #3AA7C5
square
#9D3AC5 #C5583A #62C53A #3AA7C5
split-complementary
#9D3AC5 #A7C53A #3AC558
monochromatic
#521E66 #772C96 #9D3AC5 #B569D3 #CC99E1

Accessibility & contrast

On white

5.46
#9D3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9D3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3AC5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3AC5#FFFFFF#000000##FFFFFF
##9D3AC51.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#336CC2
Tritanopia (blue-blind)
#99577C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3ac5;
/* rgb */ color: rgb(157, 58, 197);
/* oklch */ color: oklch(54.9% 0.213 314.3);
Tailwind
colors: {
  custom: {
    50: '#be79d7',
    500: '#9d3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ac5;
$custom-light: #be79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ac5",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 282.734,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.21328,
    "h": 314.3
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#9D3AC5
secondary
#A0CD8E
accent
#DE4A75
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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