#9B3FAC#9B3FAC

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

Color values

HEX#9B3FAC
RGBrgb(155, 63, 172)
HSLhsl(291, 46%, 46%)
HSVhsv(291, 63%, 67%)
CMYKcmyk(9.9%, 63.4%, 0%, 32.5%)
CIE-LABlab(43.51, 53.88, -41.14)
CIE-LCHlch(43.51, 67.80, 322.64°)
OKLaboklab(53.62% 0.1421 -0.1147)
OKLCHoklch(53.62% 0.183 321.1)
XYZxyz(22.7406, 13.5033, 40.4303)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FAC #50AC3F
analogous
#643FAC #9B3FAC #AC3F86
triadic
#9B3FAC #AC9B3F #3FAC9B
tetradic
#9B3FAC #AC643F #50AC3F #3F86AC
square
#9B3FAC #AC643F #50AC3F #3F86AC
split-complementary
#9B3FAC #86AC3F #3FAC64
monochromatic
#4A1E52 #732F7F #9B3FAC #B663C6 #CB8FD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B3FAC#FFFFFF#000000##FFFFFF
##9B3FAC1.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)
#2460AF
Deuteranopia (green-blind)
#4A6AA9
Tritanopia (blue-blind)
#9C5170
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3fac;
/* rgb */ color: rgb(155, 63, 172);
/* oklch */ color: oklch(53.6% 0.183 321.1);
Tailwind
colors: {
  custom: {
    50: '#bb7ac5',
    500: '#9b3fac',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fac;
$custom-light: #bb7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fac",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 290.642,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.18261,
    "h": 321.1
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#9B3FAC
secondary
#8FC186
accent
#D65266
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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