#9D3CAF#9D3CAF

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

Color values

HEX#9D3CAF
RGBrgb(157, 60, 175)
HSLhsl(291, 49%, 46%)
HSVhsv(291, 66%, 69%)
CMYKcmyk(10.3%, 65.7%, 0%, 31.4%)
CIE-LABlab(43.50, 56.26, -42.92)
CIE-LCHlch(43.50, 70.76, 322.66°)
OKLaboklab(53.72% 0.1481 -0.1198)
OKLCHoklch(53.72% 0.19 321)
XYZxyz(23.2575, 13.4961, 41.9291)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CAF #4EAF3C
analogous
#633CAF #9D3CAF #AF3C87
triadic
#9D3CAF #AF9D3C #3CAF9D
tetradic
#9D3CAF #AF633C #4EAF3C #3C87AF
square
#9D3CAF #AF633C #4EAF3C #3C87AF
split-complementary
#9D3CAF #87AF3C #3CAF63
monochromatic
#4B1D54 #742C81 #9D3CAF #B860C8 #CC8DD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D3CAF#FFFFFF#000000##FFFFFF
##9D3CAF1.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)
#1B60B2
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#9E4F70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3caf;
/* rgb */ color: rgb(157, 60, 175);
/* oklch */ color: oklch(53.7% 0.190 321.0);
Tailwind
colors: {
  custom: {
    50: '#bd79c7',
    500: '#9d3caf',
    950: '#000000',
  },
}
SCSS
$custom: #9d3caf;
$custom-light: #bd79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3caf",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 290.609,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53723,
    "c": 0.19045,
    "h": 321
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#9D3CAF
secondary
#8EC384
accent
#D84F65
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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