#9B3EBC#9B3EBC

#9B3EBC is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.5% C 0.199 H 315.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9B3EBC
RGBrgb(155, 62, 188)
HSLhsl(284, 50%, 49%)
HSVhsv(284, 67%, 74%)
CMYKcmyk(17.6%, 67%, 0%, 26.3%)
CIE-LABlab(44.30, 57.50, -49.30)
CIE-LCHlch(44.30, 75.74, 319.39°)
OKLaboklab(54.49% 0.143 -0.1385)
OKLCHoklch(54.49% 0.199 315.9)
XYZxyz(24.3159, 14.0456, 48.9974)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EBC #5FBC3E
analogous
#5C3EBC #9B3EBC #BC3E9E
triadic
#9B3EBC #BC9B3E #3EBC9B
tetradic
#9B3EBC #BC5C3E #5FBC3E #3E9EBC
square
#9B3EBC #BC5C3E #5FBC3E #3E9EBC
split-complementary
#9B3EBC #9EBC3E #3EBC5C
monochromatic
#4F2060 #752F8E #9B3EBC #B36ACE #CB98DD

Accessibility & contrast

On white

5.51
#9B3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9B3EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EBC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EBC#FFFFFF#000000##FFFFFF
##9B3EBC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#995678
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b3ebc;
/* rgb */ color: rgb(155, 62, 188);
/* oklch */ color: oklch(54.5% 0.199 315.9);
Tailwind
colors: {
  custom: {
    50: '#bc7ad1',
    500: '#9b3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ebc;
$custom-light: #bc7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ebc",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 284.286,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.19908,
    "h": 315.9
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#9B3EBC
secondary
#9DC98D
accent
#DA4E73
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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