#9A3BAD#9A3BAD

#9A3BAD is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.189 H 320.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9A3BAD
RGBrgb(154, 59, 173)
HSLhsl(290, 49%, 45%)
HSVhsv(290, 66%, 68%)
CMYKcmyk(11%, 65.9%, 0%, 32.2%)
CIE-LABlab(42.79, 55.60, -42.90)
CIE-LCHlch(42.79, 70.22, 322.35°)
OKLaboklab(53.08% 0.1457 -0.1198)
OKLCHoklch(53.08% 0.189 320.6)
XYZxyz(22.4323, 13.0162, 40.8578)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BAD #4EAD3B
analogous
#613BAD #9A3BAD #AD3B87
triadic
#9A3BAD #AD9A3B #3BAD9A
tetradic
#9A3BAD #AD613B #4EAD3B #3B87AD
square
#9A3BAD #AD613B #4EAD3B #3B87AD
split-complementary
#9A3BAD #87AD3B #3BAD61
monochromatic
#491C52 #712B7F #9A3BAD #B65DC8 #CB8BD7

Accessibility & contrast

On white

5.83
#9A3BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9A3BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BAD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BAD#FFFFFF#000000##FFFFFF
##9A3BAD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EB0
Deuteranopia (green-blind)
#4668AA
Tritanopia (blue-blind)
#9B4E6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a3bad;
/* rgb */ color: rgb(154, 59, 173);
/* oklch */ color: oklch(53.1% 0.189 320.6);
Tailwind
colors: {
  custom: {
    50: '#bb78c6',
    500: '#9a3bad',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bad;
$custom-light: #bb78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bad",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 290,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.18859,
    "h": 320.6
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#9A3BAD
secondary
#8DC282
accent
#D94F66
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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