#9D3CAA#9D3CAA

#9D3CAA is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.4% C 0.186 H 322.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9D3CAA
RGBrgb(157, 60, 170)
HSLhsl(293, 48%, 45%)
HSVhsv(293, 65%, 67%)
CMYKcmyk(7.6%, 64.7%, 0%, 33.3%)
CIE-LABlab(43.22, 55.32, -40.41)
CIE-LCHlch(43.22, 68.50, 323.85°)
OKLaboklab(53.43% 0.1481 -0.1125)
OKLCHoklch(53.43% 0.186 322.8)
XYZxyz(22.7755, 13.3033, 39.3906)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CAA #49AA3C
analogous
#663CAA #9D3CAA #AA3C80
triadic
#9D3CAA #AA9D3C #3CAA9D
tetradic
#9D3CAA #AA663C #49AA3C #3C80AA
square
#9D3CAA #AA663C #49AA3C #3C80AA
split-complementary
#9D3CAA #80AA3C #3CAA66
monochromatic
#491C50 #732C7D #9D3CAA #BA5DC6 #CD8BD6

Accessibility & contrast

On white

5.74
#9D3CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9D3CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CAA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CAA#FFFFFF#000000##FFFFFF
##9D3CAA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#4B6AA7
Tritanopia (blue-blind)
#9F4D6E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3caa;
/* rgb */ color: rgb(157, 60, 170);
/* oklch */ color: oklch(53.4% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#bd79c4',
    500: '#9d3caa',
    950: '#000000',
  },
}
SCSS
$custom: #9d3caa;
$custom-light: #bd79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3caa",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 292.909,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.18593,
    "h": 322.8
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#9D3CAA
secondary
#89C081
accent
#D75060
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9D3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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