#9A3ABB#9A3ABB

#9A3ABB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.203 H 316.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9A3ABB
RGBrgb(154, 58, 187)
HSLhsl(285, 53%, 48%)
HSVhsv(285, 69%, 73%)
CMYKcmyk(17.6%, 69%, 0%, 26.7%)
CIE-LABlab(43.48, 58.78, -50.03)
CIE-LCHlch(43.48, 77.19, 319.60°)
OKLaboklab(53.86% 0.1462 -0.1406)
OKLCHoklch(53.86% 0.203 316.1)
XYZxyz(23.8077, 13.4849, 48.3528)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ABB #5BBB3A
analogous
#593ABB #9A3ABB #BB3A9B
triadic
#9A3ABB #BB9A3A #3ABB9A
tetradic
#9A3ABB #BB593A #5BBB3A #3A9BBB
square
#9A3ABB #BB593A #5BBB3A #3A9BBB
split-complementary
#9A3ABB #9BBB3A #3ABB59
monochromatic
#4D1D5E #742C8C #9A3ABB #B363CF #CA92DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A3ABB#FFFFFF#000000##FFFFFF
##9A3ABB1.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)
#0061BF
Deuteranopia (green-blind)
#3A69B8
Tritanopia (blue-blind)
#985376
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3abb;
/* rgb */ color: rgb(154, 58, 187);
/* oklch */ color: oklch(53.9% 0.203 316.1);
Tailwind
colors: {
  custom: {
    50: '#bb78d0',
    500: '#9a3abb',
    950: '#000000',
  },
}
SCSS
$custom: #9a3abb;
$custom-light: #bb78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3abb",
  "rgb": {
    "r": 154,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 284.651,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.20287,
    "h": 316.1
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#9A3ABB
secondary
#99C888
accent
#DC4C71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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