#9A3DA5#9A3DA5

#9A3DA5 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.8% C 0.178 H 323.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9A3DA5
RGBrgb(154, 61, 165)
HSLhsl(294, 46%, 44%)
HSVhsv(294, 63%, 65%)
CMYKcmyk(6.7%, 63%, 0%, 35.3%)
CIE-LABlab(42.65, 53.19, -38.36)
CIE-LCHlch(42.65, 65.58, 324.20°)
OKLaboklab(52.84% 0.1432 -0.1066)
OKLCHoklch(52.84% 0.178 323.3)
XYZxyz(21.7861, 12.9253, 36.9373)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DA5 #48A53D
analogous
#663DA5 #9A3DA5 #A53D7C
triadic
#9A3DA5 #A59A3D #3DA59A
tetradic
#9A3DA5 #A5663D #48A53D #3D7CA5
square
#9A3DA5 #A5663D #48A53D #3D7CA5
split-complementary
#9A3DA5 #7CA53D #3DA566
monochromatic
#471C4C #702C78 #9A3DA5 #B85CC3 #CC89D3

Accessibility & contrast

On white

5.86
#9A3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9A3DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DA5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DA5#FFFFFF#000000##FFFFFF
##9A3DA51.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#9D4D6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a3da5;
/* rgb */ color: rgb(154, 61, 165);
/* oklch */ color: oklch(52.8% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#bb79c0',
    500: '#9a3da5',
    950: '#000000',
  },
}
SCSS
$custom: #9a3da5;
$custom-light: #bb79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3da5",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 293.654,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.17849,
    "h": 323.3
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#9A3DA5
secondary
#86BE80
accent
#D65260
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9A3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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