#9A3CA4#9A3CA4

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

Color values

HEX#9A3CA4
RGBrgb(154, 60, 164)
HSLhsl(294, 46%, 44%)
HSVhsv(294, 63%, 64%)
CMYKcmyk(6.1%, 63.4%, 0%, 35.7%)
CIE-LABlab(42.43, 53.45, -38.11)
CIE-LCHlch(42.43, 65.64, 324.51°)
OKLaboklab(52.66% 0.1443 -0.1058)
OKLCHoklch(52.66% 0.179 323.7)
XYZxyz(21.6425, 12.7833, 36.4422)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CA4 #46A43C
analogous
#663CA4 #9A3CA4 #A43C7A
triadic
#9A3CA4 #A49A3C #3CA49A
tetradic
#9A3CA4 #A4663C #46A43C #3C7AA4
square
#9A3CA4 #A4663C #46A43C #3C7AA4
split-complementary
#9A3CA4 #7AA43C #3CA466
monochromatic
#461B4A #702C77 #9A3CA4 #B95AC3 #CC87D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A3CA4#FFFFFF#000000##FFFFFF
##9A3CA41.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)
#275DA7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#9D4C6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a3ca4;
/* rgb */ color: rgb(154, 60, 164);
/* oklch */ color: oklch(52.7% 0.179 323.7);
Tailwind
colors: {
  custom: {
    50: '#bb78bf',
    500: '#9a3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ca4;
$custom-light: #bb78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ca4",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 294.231,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52662,
    "c": 0.17899,
    "h": 323.7
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#9A3CA4
secondary
#84BD7E
accent
#D6525E
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9A3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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