#9D3CAE#9D3CAE

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

Color values

HEX#9D3CAE
RGBrgb(157, 60, 174)
HSLhsl(291, 49%, 46%)
HSVhsv(291, 66%, 68%)
CMYKcmyk(9.8%, 65.5%, 0%, 31.8%)
CIE-LABlab(43.44, 56.07, -42.42)
CIE-LCHlch(43.44, 70.31, 322.89°)
OKLaboklab(53.66% 0.1481 -0.1183)
OKLCHoklch(53.66% 0.19 321.4)
XYZxyz(23.1596, 13.4570, 41.4138)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CAE #4DAE3C
analogous
#643CAE #9D3CAE #AE3C86
triadic
#9D3CAE #AE9D3C #3CAE9D
tetradic
#9D3CAE #AE643C #4DAE3C #3C86AE
square
#9D3CAE #AE643C #4DAE3C #3C86AE
split-complementary
#9D3CAE #86AE3C #3CAE64
monochromatic
#4B1D53 #742C80 #9D3CAE #B85FC8 #CC8DD8

Accessibility & contrast

On white

5.69
#9D3CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9D3CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CAE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CAE#FFFFFF#000000##FFFFFF
##9D3CAE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B1
Deuteranopia (green-blind)
#496AAB
Tritanopia (blue-blind)
#9E4F70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3cae;
/* rgb */ color: rgb(157, 60, 174);
/* oklch */ color: oklch(53.7% 0.190 321.4);
Tailwind
colors: {
  custom: {
    50: '#bd79c7',
    500: '#9d3cae',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cae;
$custom-light: #bd79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cae",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 291.053,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53663,
    "c": 0.18955,
    "h": 321.4
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#9D3CAE
secondary
#8DC283
accent
#D85064
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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