#9A3BB9#9A3BB9

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

Color values

HEX#9A3BB9
RGBrgb(154, 59, 185)
HSLhsl(285, 52%, 48%)
HSVhsv(285, 68%, 73%)
CMYKcmyk(16.8%, 68.1%, 0%, 27.5%)
CIE-LABlab(43.51, 57.96, -48.81)
CIE-LCHlch(43.51, 75.78, 319.90°)
OKLaboklab(53.83% 0.1453 -0.1371)
OKLCHoklch(53.83% 0.2 316.7)
XYZxyz(23.6460, 13.5017, 47.2500)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BB9 #5AB93B
analogous
#5B3BB9 #9A3BB9 #B93B99
triadic
#9A3BB9 #B99A3B #3BB99A
tetradic
#9A3BB9 #B95B3B #5AB93B #3B99B9
square
#9A3BB9 #B95B3B #5AB93B #3B99B9
split-complementary
#9A3BB9 #99B93B #3BB95B
monochromatic
#4D1D5C #732C8B #9A3BB9 #B364CD #CA92DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A3BB9#FFFFFF#000000##FFFFFF
##9A3BB91.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)
#0061BD
Deuteranopia (green-blind)
#3C6AB6
Tritanopia (blue-blind)
#985375
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3bb9;
/* rgb */ color: rgb(154, 59, 185);
/* oklch */ color: oklch(53.8% 0.200 316.7);
Tailwind
colors: {
  custom: {
    50: '#bb78cf',
    500: '#9a3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bb9;
$custom-light: #bb78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bb9",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 285.238,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53832,
    "c": 0.19973,
    "h": 316.7
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#9A3BB9
secondary
#98C788
accent
#DB4D70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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