#9A3ABA#9A3ABA

#9A3ABA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.202 H 316.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9A3ABA
RGBrgb(154, 58, 186)
HSLhsl(285, 52%, 48%)
HSVhsv(285, 69%, 73%)
CMYKcmyk(17.2%, 68.8%, 0%, 27.1%)
CIE-LABlab(43.42, 58.58, -49.54)
CIE-LCHlch(43.42, 76.72, 319.78°)
OKLaboklab(53.79% 0.1463 -0.1392)
OKLCHoklch(53.79% 0.202 316.4)
XYZxyz(23.7011, 13.4422, 47.7910)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ABA #5ABA3A
analogous
#5A3ABA #9A3ABA #BA3A9A
triadic
#9A3ABA #BA9A3A #3ABA9A
tetradic
#9A3ABA #BA5A3A #5ABA3A #3A9ABA
square
#9A3ABA #BA5A3A #5ABA3A #3A9ABA
split-complementary
#9A3ABA #9ABA3A #3ABA5A
monochromatic
#4D1D5D #732B8B #9A3ABA #B363CE #CA92DD

Accessibility & contrast

On white

5.69
#9A3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9A3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ABA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ABA#FFFFFF#000000##FFFFFF
##9A3ABA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#985376
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3aba;
/* rgb */ color: rgb(154, 58, 186);
/* oklch */ color: oklch(53.8% 0.202 316.4);
Tailwind
colors: {
  custom: {
    50: '#bb78cf',
    500: '#9a3aba',
    950: '#000000',
  },
}
SCSS
$custom: #9a3aba;
$custom-light: #bb78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3aba",
  "rgb": {
    "r": 154,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 285,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.20194,
    "h": 316.4
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

primary
#9A3ABA
secondary
#98C888
accent
#DC4C70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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