#9C3DBB#9C3DBB

#9C3DBB is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.200 H 316.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9C3DBB
RGBrgb(156, 61, 187)
HSLhsl(285, 51%, 49%)
HSVhsv(285, 67%, 73%)
CMYKcmyk(16.6%, 67.4%, 0%, 26.7%)
CIE-LABlab(44.22, 57.96, -48.82)
CIE-LCHlch(44.22, 75.78, 319.89°)
OKLaboklab(54.44% 0.1454 -0.1371)
OKLCHoklch(54.44% 0.2 316.7)
XYZxyz(24.3473, 13.9942, 48.4227)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DBB #5CBB3D
analogous
#5D3DBB #9C3DBB #BB3D9B
triadic
#9C3DBB #BB9C3D #3DBB9C
tetradic
#9C3DBB #BB5D3D #5CBB3D #3D9BBB
square
#9C3DBB #BB5D3D #5CBB3D #3D9BBB
split-complementary
#9C3DBB #9BBB3D #3DBB5D
monochromatic
#4F1F5F #762E8D #9C3DBB #B568CE #CB96DD

Accessibility & contrast

On white

5.53
#9C3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9C3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DBB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DBB#FFFFFF#000000##FFFFFF
##9C3DBB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3F6BB8
Tritanopia (blue-blind)
#9A5577
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c3dbb;
/* rgb */ color: rgb(156, 61, 187);
/* oklch */ color: oklch(54.4% 0.200 316.7);
Tailwind
colors: {
  custom: {
    50: '#bd7ad0',
    500: '#9c3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dbb;
$custom-light: #bd7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dbb",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 285.238,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.19983,
    "h": 316.7
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#9C3DBB
secondary
#9BC88C
accent
#DA4E70
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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