#9C3DBA#9C3DBA

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

Color values

HEX#9C3DBA
RGBrgb(156, 61, 186)
HSLhsl(286, 51%, 48%)
HSVhsv(286, 67%, 73%)
CMYKcmyk(16.1%, 67.2%, 0%, 27.1%)
CIE-LABlab(44.16, 57.76, -48.34)
CIE-LCHlch(44.16, 75.32, 320.07°)
OKLaboklab(54.38% 0.1455 -0.1356)
OKLCHoklch(54.38% 0.199 317)
XYZxyz(24.2407, 13.9516, 47.8609)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DBA #5BBA3D
analogous
#5D3DBA #9C3DBA #BA3D99
triadic
#9C3DBA #BA9C3D #3DBA9C
tetradic
#9C3DBA #BA5D3D #5BBA3D #3D99BA
square
#9C3DBA #BA5D3D #5BBA3D #3D99BA
split-complementary
#9C3DBA #99BA3D #3DBA5D
monochromatic
#4F1F5E #752E8C #9C3DBA #B567CD #CB95DC

Accessibility & contrast

On white

5.54
#9C3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9C3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DBA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DBA#FFFFFF#000000##FFFFFF
##9C3DBA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#9B5577
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c3dba;
/* rgb */ color: rgb(156, 61, 186);
/* oklch */ color: oklch(54.4% 0.199 317.0);
Tailwind
colors: {
  custom: {
    50: '#bd7acf',
    500: '#9c3dba',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dba;
$custom-light: #bd7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dba",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 285.6,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5438,
    "c": 0.1989,
    "h": 317
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#9C3DBA
secondary
#9AC88B
accent
#DA4E6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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