#9C3DBD#9C3DBD

#9C3DBD is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.6% C 0.202 H 316.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9C3DBD
RGBrgb(156, 61, 189)
HSLhsl(285, 51%, 49%)
HSVhsv(285, 68%, 74%)
CMYKcmyk(17.5%, 67.7%, 0%, 25.9%)
CIE-LABlab(44.35, 58.36, -49.80)
CIE-LCHlch(44.35, 76.72, 319.53°)
OKLaboklab(54.57% 0.1453 -0.1399)
OKLCHoklch(54.57% 0.202 316.1)
XYZxyz(24.5629, 14.0805, 49.5582)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DBD #5EBD3D
analogous
#5C3DBD #9C3DBD #BD3D9E
triadic
#9C3DBD #BD9C3D #3DBD9C
tetradic
#9C3DBD #BD5C3D #5EBD3D #3D9EBD
square
#9C3DBD #BD5C3D #5EBD3D #3D9EBD
split-complementary
#9C3DBD #9EBD3D #3DBD5C
monochromatic
#501F60 #762E8F #9C3DBD #B469CE #CB97DD

Accessibility & contrast

On white

5.50
#9C3DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9C3DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DBD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DBD#FFFFFF#000000##FFFFFF
##9C3DBD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#9A5678
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c3dbd;
/* rgb */ color: rgb(156, 61, 189);
/* oklch */ color: oklch(54.6% 0.202 316.1);
Tailwind
colors: {
  custom: {
    50: '#bd7ad1',
    500: '#9c3dbd',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dbd;
$custom-light: #bd7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dbd",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 189
  },
  "hsl": {
    "h": 284.531,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.20172,
    "h": 316.1
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#9C3DBD
secondary
#9CC98D
accent
#DB4D72
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C3DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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