#9D3CAB#9D3CAB

#9D3CAB is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.187 H 322.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9D3CAB
RGBrgb(157, 60, 171)
HSLhsl(292, 48%, 45%)
HSVhsv(292, 65%, 67%)
CMYKcmyk(8.2%, 64.9%, 0%, 32.9%)
CIE-LABlab(43.27, 55.50, -40.91)
CIE-LCHlch(43.27, 68.95, 323.60°)
OKLaboklab(53.49% 0.1481 -0.1139)
OKLCHoklch(53.49% 0.187 322.4)
XYZxyz(22.8704, 13.3413, 39.8907)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CAB #4AAB3C
analogous
#653CAB #9D3CAB #AB3C82
triadic
#9D3CAB #AB9D3C #3CAB9D
tetradic
#9D3CAB #AB653C #4AAB3C #3C82AB
square
#9D3CAB #AB653C #4AAB3C #3C82AB
split-complementary
#9D3CAB #82AB3C #3CAB65
monochromatic
#4A1C50 #732C7E #9D3CAB #B95EC6 #CD8BD6

Accessibility & contrast

On white

5.73
#9D3CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9D3CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CAB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CAB#FFFFFF#000000##FFFFFF
##9D3CAB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAE
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#9F4E6E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3cab;
/* rgb */ color: rgb(157, 60, 171);
/* oklch */ color: oklch(53.5% 0.187 322.4);
Tailwind
colors: {
  custom: {
    50: '#bd79c4',
    500: '#9d3cab',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cab;
$custom-light: #bd79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cab",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 292.432,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.18682,
    "h": 322.4
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#9D3CAB
secondary
#8AC182
accent
#D85061
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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