#9C3FBB#9C3FBB

#9C3FBB is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.197 H 316.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9C3FBB
RGBrgb(156, 63, 187)
HSLhsl(285, 50%, 49%)
HSVhsv(285, 66%, 73%)
CMYKcmyk(16.6%, 66.3%, 0%, 26.7%)
CIE-LABlab(44.53, 57.09, -48.33)
CIE-LCHlch(44.53, 74.80, 319.75°)
OKLaboklab(54.67% 0.1432 -0.1356)
OKLCHoklch(54.67% 0.197 316.6)
XYZxyz(24.4561, 14.2117, 48.4590)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3FBB #5EBB3F
analogous
#5E3FBB #9C3FBB #BB3F9C
triadic
#9C3FBB #BB9C3F #3FBB9C
tetradic
#9C3FBB #BB5E3F #5EBB3F #3F9CBB
square
#9C3FBB #BB5E3F #5EBB3F #3F9CBB
split-complementary
#9C3FBB #9CBB3F #3FBB5E
monochromatic
#50205F #76308D #9C3FBB #B46ACD #CB98DC

Accessibility & contrast

On white

5.47
#9C3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9C3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3FBB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3FBB#FFFFFF#000000##FFFFFF
##9C3FBB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464BF
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#9A5678
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c3fbb;
/* rgb */ color: rgb(156, 63, 187);
/* oklch */ color: oklch(54.7% 0.197 316.6);
Tailwind
colors: {
  custom: {
    50: '#bd7bd0',
    500: '#9c3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9c3fbb;
$custom-light: #bd7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3fbb",
  "rgb": {
    "r": 156,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 285,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54667,
    "c": 0.19721,
    "h": 316.6
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#9C3FBB
secondary
#9CC88E
accent
#D94F71
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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