#9A3CA2#9A3CA2

#9A3CA2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.5% C 0.177 H 324.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9A3CA2
RGBrgb(154, 60, 162)
HSLhsl(295, 46%, 44%)
HSVhsv(295, 63%, 64%)
CMYKcmyk(4.9%, 63%, 0%, 36.5%)
CIE-LABlab(42.33, 53.08, -37.09)
CIE-LCHlch(42.33, 64.75, 325.05°)
OKLaboklab(52.55% 0.1443 -0.1029)
OKLCHoklch(52.55% 0.177 324.5)
XYZxyz(21.4633, 12.7116, 35.4985)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CA2 #44A23C
analogous
#673CA2 #9A3CA2 #A23C77
triadic
#9A3CA2 #A29A3C #3CA29A
tetradic
#9A3CA2 #A2673C #44A23C #3C77A2
square
#9A3CA2 #A2673C #44A23C #3C77A2
split-complementary
#9A3CA2 #77A23C #3CA267
monochromatic
#451B49 #702B75 #9A3CA2 #BA59C2 #CC86D2

Accessibility & contrast

On white

5.93
#9A3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9A3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3CA2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CA2#FFFFFF#000000##FFFFFF
##9A3CA21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#9D4B69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a3ca2;
/* rgb */ color: rgb(154, 60, 162);
/* oklch */ color: oklch(52.5% 0.177 324.5);
Tailwind
colors: {
  custom: {
    50: '#bb78be',
    500: '#9a3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ca2;
$custom-light: #bb78be;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ca2",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 295.294,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.17718,
    "h": 324.5
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#9A3CA2
secondary
#82BC7D
accent
#D6525C
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9A3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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