#9A3ABC#9A3ABC

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

Color values

HEX#9A3ABC
RGBrgb(154, 58, 188)
HSLhsl(284, 53%, 48%)
HSVhsv(284, 69%, 74%)
CMYKcmyk(18.1%, 69.1%, 0%, 26.3%)
CIE-LABlab(43.55, 58.98, -50.51)
CIE-LCHlch(43.55, 77.66, 319.43°)
OKLaboklab(53.92% 0.1461 -0.142)
OKLCHoklch(53.92% 0.204 315.8)
XYZxyz(23.9152, 13.5279, 48.9186)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ABC #5CBC3A
analogous
#593ABC #9A3ABC #BC3A9D
triadic
#9A3ABC #BC9A3A #3ABC9A
tetradic
#9A3ABC #BC593A #5CBC3A #3A9DBC
square
#9A3ABC #BC593A #5CBC3A #3A9DBC
split-complementary
#9A3ABC #9DBC3A #3ABC59
monochromatic
#4D1D5E #742C8D #9A3ABC #B364CF #CA93DE

Accessibility & contrast

On white

5.67
#9A3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9A3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ABC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ABC#FFFFFF#000000##FFFFFF
##9A3ABC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#985477
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3abc;
/* rgb */ color: rgb(154, 58, 188);
/* oklch */ color: oklch(53.9% 0.204 315.8);
Tailwind
colors: {
  custom: {
    50: '#bc78d1',
    500: '#9a3abc',
    950: '#000000',
  },
}
SCSS
$custom: #9a3abc;
$custom-light: #bc78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3abc",
  "rgb": {
    "r": 154,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 284.308,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5392,
    "c": 0.20379,
    "h": 315.8
  },
  "luminance": 0.13527
}

Semantic roles & 50–950 ramp

primary
#9A3ABC
secondary
#9AC989
accent
#DC4C71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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