#9A3CA5#9A3CA5

#9A3CA5 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.7% C 0.180 H 323.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9A3CA5
RGBrgb(154, 60, 165)
HSLhsl(294, 47%, 44%)
HSVhsv(294, 64%, 65%)
CMYKcmyk(6.7%, 63.6%, 0%, 35.3%)
CIE-LABlab(42.49, 53.64, -38.62)
CIE-LCHlch(42.49, 66.09, 324.25°)
OKLaboklab(52.72% 0.1444 -0.1073)
OKLCHoklch(52.72% 0.18 323.4)
XYZxyz(21.7332, 12.8196, 36.9197)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CA5 #47A53C
analogous
#663CA5 #9A3CA5 #A53C7C
triadic
#9A3CA5 #A59A3C #3CA59A
tetradic
#9A3CA5 #A5663C #47A53C #3C7CA5
square
#9A3CA5 #A5663C #47A53C #3C7CA5
split-complementary
#9A3CA5 #7CA53C #3CA566
monochromatic
#461B4B #702C78 #9A3CA5 #B85BC3 #CC88D4

Accessibility & contrast

On white

5.89
#9A3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A3CA5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CA5#FFFFFF#000000##FFFFFF
##9A3CA51.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#9D4C6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a3ca5;
/* rgb */ color: rgb(154, 60, 165);
/* oklch */ color: oklch(52.7% 0.180 323.4);
Tailwind
colors: {
  custom: {
    50: '#bb78c0',
    500: '#9a3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ca5;
$custom-light: #bb78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ca5",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 293.714,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52719,
    "c": 0.1799,
    "h": 323.4
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#9A3CA5
secondary
#85BE7F
accent
#D6515F
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9A3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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