#9A3BB3#9A3BB3

#9A3BB3 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.194 H 318.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9A3BB3
RGBrgb(154, 59, 179)
HSLhsl(288, 50%, 47%)
HSVhsv(288, 67%, 70%)
CMYKcmyk(14%, 67%, 0%, 29.8%)
CIE-LABlab(43.14, 56.77, -45.88)
CIE-LCHlch(43.14, 72.99, 321.06°)
OKLaboklab(53.45% 0.1455 -0.1285)
OKLCHoklch(53.45% 0.194 318.6)
XYZxyz(23.0260, 13.2536, 43.9844)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BB3 #54B33B
analogous
#5E3BB3 #9A3BB3 #B33B90
triadic
#9A3BB3 #B39A3B #3BB39A
tetradic
#9A3BB3 #B35E3B #54B33B #3B90B3
square
#9A3BB3 #B35E3B #54B33B #3B90B3
split-complementary
#9A3BB3 #90B33B #3BB35E
monochromatic
#4B1D57 #722C85 #9A3BB3 #B560CB #CA8EDA

Accessibility & contrast

On white

5.75
#9A3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9A3BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BB3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BB3#FFFFFF#000000##FFFFFF
##9A3BB31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A60B7
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#9A5172
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a3bb3;
/* rgb */ color: rgb(154, 59, 179);
/* oklch */ color: oklch(53.5% 0.194 318.6);
Tailwind
colors: {
  custom: {
    50: '#bb78ca',
    500: '#9a3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bb3;
$custom-light: #bb78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bb3",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 287.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.19414,
    "h": 318.6
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#9A3BB3
secondary
#92C585
accent
#DA4E6B
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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