#9A3AAA#9A3AAA

#9A3AAA is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.8% C 0.187 H 321.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9A3AAA
RGBrgb(154, 58, 170)
HSLhsl(291, 49%, 45%)
HSVhsv(291, 66%, 67%)
CMYKcmyk(9.4%, 65.9%, 0%, 33.3%)
CIE-LABlab(42.46, 55.45, -41.64)
CIE-LCHlch(42.46, 69.35, 323.10°)
OKLaboklab(52.79% 0.1468 -0.1161)
OKLCHoklch(52.79% 0.187 321.7)
XYZxyz(22.0944, 12.7996, 39.3292)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3AAA #4AAA3A
analogous
#623AAA #9A3AAA #AA3A82
triadic
#9A3AAA #AA9A3A #3AAA9A
tetradic
#9A3AAA #AA623A #4AAA3A #3A82AA
square
#9A3AAA #AA623A #4AAA3A #3A82AA
split-complementary
#9A3AAA #82AA3A #3AAA62
monochromatic
#471B4F #712A7C #9A3AAA #B75AC7 #CB88D6

Accessibility & contrast

On white

5.90
#9A3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9A3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3AAA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3AAA#FFFFFF#000000##FFFFFF
##9A3AAA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAD
Deuteranopia (green-blind)
#4768A7
Tritanopia (blue-blind)
#9C4D6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a3aaa;
/* rgb */ color: rgb(154, 58, 170);
/* oklch */ color: oklch(52.8% 0.187 321.7);
Tailwind
colors: {
  custom: {
    50: '#bb77c4',
    500: '#9a3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9a3aaa;
$custom-light: #bb77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3aaa",
  "rgb": {
    "r": 154,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 291.429,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.18719,
    "h": 321.7
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#9A3AAA
secondary
#89C17F
accent
#D94F63
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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