#9B3CBC#9B3CBC

#9B3CBC is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.202 H 316.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9B3CBC
RGBrgb(155, 60, 188)
HSLhsl(285, 52%, 49%)
HSVhsv(285, 68%, 74%)
CMYKcmyk(17.6%, 68.1%, 0%, 26.3%)
CIE-LABlab(43.99, 58.36, -49.79)
CIE-LCHlch(43.99, 76.72, 319.53°)
OKLaboklab(54.27% 0.1452 -0.1399)
OKLCHoklch(54.27% 0.202 316.1)
XYZxyz(24.2091, 13.8320, 48.9618)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CBC #5DBC3C
analogous
#5B3CBC #9B3CBC #BC3C9D
triadic
#9B3CBC #BC9B3C #3CBC9B
tetradic
#9B3CBC #BC5B3C #5DBC3C #3C9DBC
square
#9B3CBC #BC5B3C #5DBC3C #3C9DBC
split-complementary
#9B3CBC #9DBC3C #3CBC5B
monochromatic
#4E1E5F #752D8E #9B3CBC #B467CE #CB95DD

Accessibility & contrast

On white

5.58
#9B3CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9B3CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CBC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CBC#FFFFFF#000000##FFFFFF
##9B3CBC1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#995577
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3cbc;
/* rgb */ color: rgb(155, 60, 188);
/* oklch */ color: oklch(54.3% 0.202 316.1);
Tailwind
colors: {
  custom: {
    50: '#bc79d1',
    500: '#9b3cbc',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cbc;
$custom-light: #bc79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cbc",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 188
  },
  "hsl": {
    "h": 284.531,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54267,
    "c": 0.20167,
    "h": 316.1
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#9B3CBC
secondary
#9BC98B
accent
#DB4D71
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B3CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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