#9A3FA4#9A3FA4

#9A3FA4 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.0% C 0.175 H 323.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9A3FA4
RGBrgb(154, 63, 164)
HSLhsl(294, 44%, 45%)
HSVhsv(294, 62%, 64%)
CMYKcmyk(6.1%, 61.6%, 0%, 35.7%)
CIE-LABlab(42.92, 52.10, -37.34)
CIE-LCHlch(42.92, 64.10, 324.37°)
OKLaboklab(53.02% 0.1406 -0.1036)
OKLCHoklch(53.02% 0.175 323.6)
XYZxyz(21.8042, 13.1066, 36.4961)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FA4 #49A43F
analogous
#673FA4 #9A3FA4 #A43F7C
triadic
#9A3FA4 #A49A3F #3FA49A
tetradic
#9A3FA4 #A4673F #49A43F #3F7CA4
square
#9A3FA4 #A4673F #49A43F #3F7CA4
split-complementary
#9A3FA4 #7CA43F #3FA467
monochromatic
#471D4C #702E78 #9A3FA4 #B85FC1 #CB8BD2

Accessibility & contrast

On white

5.80
#9A3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9A3FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FA4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FA4#FFFFFF#000000##FFFFFF
##9A3FA41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#9D4E6C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a3fa4;
/* rgb */ color: rgb(154, 63, 164);
/* oklch */ color: oklch(53.0% 0.175 323.6);
Tailwind
colors: {
  custom: {
    50: '#ba7abf',
    500: '#9a3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fa4;
$custom-light: #ba7abf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fa4",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 294.059,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.17469,
    "h": 323.6
  },
  "luminance": 0.13105
}

Semantic roles & 50–950 ramp

primary
#9A3FA4
secondary
#88BD82
accent
#D45460
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9A3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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