#9C3FB3#9C3FB3

#9C3FB3 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.190 H 319.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9C3FB3
RGBrgb(156, 63, 179)
HSLhsl(288, 48%, 47%)
HSVhsv(288, 65%, 70%)
CMYKcmyk(12.8%, 64.8%, 0%, 29.8%)
CIE-LABlab(44.06, 55.50, -44.40)
CIE-LCHlch(44.06, 71.07, 321.34°)
OKLaboklab(54.17% 0.1434 -0.1241)
OKLCHoklch(54.17% 0.19 319.1)
XYZxyz(23.6234, 13.8787, 44.0736)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3FB3 #56B33F
analogous
#623FB3 #9C3FB3 #B33F90
triadic
#9C3FB3 #B39C3F #3FB39C
tetradic
#9C3FB3 #B3623F #56B33F #3F90B3
square
#9C3FB3 #B3623F #56B33F #3F90B3
split-complementary
#9C3FB3 #90B33F #3FB362
monochromatic
#4D1F58 #752F86 #9C3FB3 #B666C9 #CB93D9

Accessibility & contrast

On white

5.56
#9C3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9C3FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3FB3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3FB3#FFFFFF#000000##FFFFFF
##9C3FB31.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B6
Deuteranopia (green-blind)
#476BB0
Tritanopia (blue-blind)
#9C5373
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c3fb3;
/* rgb */ color: rgb(156, 63, 179);
/* oklch */ color: oklch(54.2% 0.190 319.1);
Tailwind
colors: {
  custom: {
    50: '#bc7bca',
    500: '#9c3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #9c3fb3;
$custom-light: #bc7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3fb3",
  "rgb": {
    "r": 156,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 288.103,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.18965,
    "h": 319.1
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#9C3FB3
secondary
#95C489
accent
#D8506B
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9C3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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