#9C3DAF#9C3DAF

#9C3DAF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.189 H 320.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9C3DAF
RGBrgb(156, 61, 175)
HSLhsl(290, 48%, 46%)
HSVhsv(290, 65%, 69%)
CMYKcmyk(10.9%, 65.1%, 0%, 31.4%)
CIE-LABlab(43.51, 55.59, -42.91)
CIE-LCHlch(43.51, 70.23, 322.34°)
OKLaboklab(53.7% 0.1457 -0.1198)
OKLCHoklch(53.7% 0.189 320.6)
XYZxyz(23.1160, 13.5017, 41.9376)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DAF #50AF3D
analogous
#633DAF #9C3DAF #AF3D89
triadic
#9C3DAF #AF9C3D #3DAF9C
tetradic
#9C3DAF #AF633D #50AF3D #3D89AF
square
#9C3DAF #AF633D #50AF3D #3D89AF
split-complementary
#9C3DAF #89AF3D #3DAF63
monochromatic
#4B1D54 #742D82 #9C3DAF #B761C8 #CC8FD8

Accessibility & contrast

On white

5.68
#9C3DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9C3DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DAF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DAF#FFFFFF#000000##FFFFFF
##9C3DAF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#9D5071
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c3daf;
/* rgb */ color: rgb(156, 61, 175);
/* oklch */ color: oklch(53.7% 0.189 320.6);
Tailwind
colors: {
  custom: {
    50: '#bc79c7',
    500: '#9c3daf',
    950: '#000000',
  },
}
SCSS
$custom: #9c3daf;
$custom-light: #bc79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3daf",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 290,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.18865,
    "h": 320.6
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#9C3DAF
secondary
#8FC385
accent
#D85067
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9C3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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