#9A3BBC#9A3BBC

#9A3BBC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.203 H 315.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9A3BBC
RGBrgb(154, 59, 188)
HSLhsl(284, 52%, 48%)
HSVhsv(284, 69%, 74%)
CMYKcmyk(18.1%, 68.6%, 0%, 26.3%)
CIE-LABlab(43.70, 58.57, -50.27)
CIE-LCHlch(43.70, 77.18, 319.36°)
OKLaboklab(54.03% 0.1451 -0.1413)
OKLCHoklch(54.03% 0.203 315.7)
XYZxyz(23.9661, 13.6297, 48.9356)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BBC #5DBC3B
analogous
#593BBC #9A3BBC #BC3B9D
triadic
#9A3BBC #BC9A3B #3BBC9A
tetradic
#9A3BBC #BC593B #5DBC3B #3B9DBC
square
#9A3BBC #BC593B #5DBC3B #3B9DBC
split-complementary
#9A3BBC #9DBC3B #3BBC59
monochromatic
#4E1E5F #742C8D #9A3BBC #B365CF #CA94DD

Accessibility & contrast

On white

5.64
#9A3BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9A3BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BBC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BBC#FFFFFF#000000##FFFFFF
##9A3BBC1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#985477
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3bbc;
/* rgb */ color: rgb(154, 59, 188);
/* oklch */ color: oklch(54.0% 0.203 315.7);
Tailwind
colors: {
  custom: {
    50: '#bb79d1',
    500: '#9a3bbc',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bbc;
$custom-light: #bb79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bbc",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 284.186,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.20255,
    "h": 315.7
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#9A3BBC
secondary
#9BC98A
accent
#DC4C72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A3BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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