#9D3DAC#9D3DAC

#9D3DAC is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.186 H 322.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9D3DAC
RGBrgb(157, 61, 172)
HSLhsl(292, 48%, 46%)
HSVhsv(292, 65%, 67%)
CMYKcmyk(8.7%, 64.5%, 0%, 32.5%)
CIE-LABlab(43.49, 55.26, -41.17)
CIE-LCHlch(43.49, 68.91, 323.31°)
OKLaboklab(53.66% 0.1469 -0.1147)
OKLCHoklch(53.66% 0.186 322)
XYZxyz(23.0190, 13.4853, 40.4122)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DAC #4CAC3D
analogous
#653DAC #9D3DAC #AC3D83
triadic
#9D3DAC #AC9D3D #3DAC9D
tetradic
#9D3DAC #AC653D #4CAC3D #3D83AC
square
#9D3DAC #AC653D #4CAC3D #3D83AC
split-complementary
#9D3DAC #83AC3D #3DAC65
monochromatic
#4B1D52 #742D7F #9D3DAC #B960C7 #CD8DD7

Accessibility & contrast

On white

5.68
#9D3DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9D3DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DAC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DAC#FFFFFF#000000##FFFFFF
##9D3DAC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#4B6AA9
Tritanopia (blue-blind)
#9F4F6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3dac;
/* rgb */ color: rgb(157, 61, 172);
/* oklch */ color: oklch(53.7% 0.186 322.0);
Tailwind
colors: {
  custom: {
    50: '#bd79c5',
    500: '#9d3dac',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dac;
$custom-light: #bd79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dac",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 291.892,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.18636,
    "h": 322
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#9D3DAC
secondary
#8CC184
accent
#D75163
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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