#9D3EAB#9D3EAB

#9D3EAB is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.7% C 0.184 H 322.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9D3EAB
RGBrgb(157, 62, 171)
HSLhsl(292, 47%, 46%)
HSVhsv(292, 64%, 67%)
CMYKcmyk(8.2%, 63.7%, 0%, 32.9%)
CIE-LABlab(43.59, 54.63, -40.41)
CIE-LCHlch(43.59, 67.96, 323.51°)
OKLaboklab(53.71% 0.1457 -0.1125)
OKLCHoklch(53.71% 0.184 322.3)
XYZxyz(22.9772, 13.5548, 39.9262)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EAB #4CAB3E
analogous
#673EAB #9D3EAB #AB3E82
triadic
#9D3EAB #AB9D3E #3EAB9D
tetradic
#9D3EAB #AB673E #4CAB3E #3E82AB
square
#9D3EAB #AB673E #4CAB3E #3E82AB
split-complementary
#9D3EAB #82AB3E #3EAB67
monochromatic
#4B1D51 #742E7E #9D3EAB #B961C6 #CD8ED6

Accessibility & contrast

On white

5.66
#9D3EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9D3EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EAB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EAB#FFFFFF#000000##FFFFFF
##9D3EAB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AE
Deuteranopia (green-blind)
#4C6BA8
Tritanopia (blue-blind)
#9F4F6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3eab;
/* rgb */ color: rgb(157, 62, 171);
/* oklch */ color: oklch(53.7% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#bd7ac4',
    500: '#9d3eab',
    950: '#000000',
  },
}
SCSS
$custom: #9d3eab;
$custom-light: #bd7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3eab",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 292.294,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.18407,
    "h": 322.3
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#9D3EAB
secondary
#8CC184
accent
#D65162
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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