#9D3EAC#9D3EAC

#9D3EAC is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.185 H 322.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9D3EAC
RGBrgb(157, 62, 172)
HSLhsl(292, 47%, 46%)
HSVhsv(292, 64%, 67%)
CMYKcmyk(8.7%, 64%, 0%, 32.5%)
CIE-LABlab(43.64, 54.82, -40.92)
CIE-LCHlch(43.64, 68.41, 323.26°)
OKLaboklab(53.77% 0.1457 -0.1139)
OKLCHoklch(53.77% 0.185 322)
XYZxyz(23.0729, 13.5931, 40.4301)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EAC #4DAC3E
analogous
#663EAC #9D3EAC #AC3E84
triadic
#9D3EAC #AC9D3E #3EAC9D
tetradic
#9D3EAC #AC663E #4DAC3E #3E84AC
square
#9D3EAC #AC663E #4DAC3E #3E84AC
split-complementary
#9D3EAC #84AC3E #3EAC66
monochromatic
#4B1E52 #742E7F #9D3EAC #B861C6 #CC8ED6

Accessibility & contrast

On white

5.65
#9D3EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9D3EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EAC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EAC#FFFFFF#000000##FFFFFF
##9D3EAC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#4B6BA9
Tritanopia (blue-blind)
#9F506F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3eac;
/* rgb */ color: rgb(157, 62, 172);
/* oklch */ color: oklch(53.8% 0.185 322.0);
Tailwind
colors: {
  custom: {
    50: '#bd7ac5',
    500: '#9d3eac',
    950: '#000000',
  },
}
SCSS
$custom: #9d3eac;
$custom-light: #bd7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3eac",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 291.818,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.18498,
    "h": 322
  },
  "luminance": 0.13592
}

Semantic roles & 50–950 ramp

primary
#9D3EAC
secondary
#8DC185
accent
#D75163
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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