#9D3AC4#9D3AC4

#9D3AC4 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.212 H 314.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9D3AC4
RGBrgb(157, 58, 196)
HSLhsl(283, 54%, 50%)
HSVhsv(283, 70%, 77%)
CMYKcmyk(19.9%, 70.4%, 0%, 23.1%)
CIE-LABlab(44.49, 61.24, -53.64)
CIE-LCHlch(44.49, 81.41, 318.79°)
OKLaboklab(54.85% 0.1492 -0.1511)
OKLCHoklch(54.85% 0.212 314.6)
XYZxyz(25.3798, 14.1806, 53.6141)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3AC4 #61C43A
analogous
#583AC4 #9D3AC4 #C43AA6
triadic
#9D3AC4 #C49D3A #3AC49D
tetradic
#9D3AC4 #C4583A #61C43A #3AA6C4
square
#9D3AC4 #C4583A #61C43A #3AA6C4
split-complementary
#9D3AC4 #A6C43A #3AC458
monochromatic
#511E66 #772C95 #9D3AC4 #B569D3 #CC98E0

Accessibility & contrast

On white

5.47
#9D3AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D3AC4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3AC4#FFFFFF#000000##FFFFFF
##9D3AC41.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#346CC1
Tritanopia (blue-blind)
#9A577B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3ac4;
/* rgb */ color: rgb(157, 58, 196);
/* oklch */ color: oklch(54.8% 0.212 314.6);
Tailwind
colors: {
  custom: {
    50: '#be79d7',
    500: '#9d3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ac4;
$custom-light: #be79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ac4",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 283.043,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.21236,
    "h": 314.6
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#9D3AC4
secondary
#9FCC8E
accent
#DE4A74
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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