#9A4CB4#9A4CB4

#9A4CB4 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.6% C 0.171 H 316.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9A4CB4
RGBrgb(154, 76, 180)
HSLhsl(285, 41%, 50%)
HSVhsv(285, 58%, 71%)
CMYKcmyk(14.4%, 57.8%, 0%, 29.4%)
CIE-LABlab(46.09, 49.05, -41.77)
CIE-LCHlch(46.09, 64.42, 319.58°)
OKLaboklab(55.61% 0.1247 -0.1166)
OKLCHoklch(55.61% 0.171 316.9)
XYZxyz(24.1479, 15.3351, 44.8591)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CB4 #66B44C
analogous
#664CB4 #9A4CB4 #B44C9A
triadic
#9A4CB4 #B49A4C #4CB49A
tetradic
#9A4CB4 #B4664C #66B44C #4C9AB4
square
#9A4CB4 #B4664C #66B44C #4C9AB4
split-complementary
#9A4CB4 #9AB44C #4CB466
monochromatic
#50275E #753A89 #9A4CB4 #B277C6 #CBA2D8

Accessibility & contrast

On white

5.16
#9A4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9A4CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CB4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CB4#FFFFFF#000000##FFFFFF
##9A4CB41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B7
Deuteranopia (green-blind)
#4E70B1
Tritanopia (blue-blind)
#995D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a4cb4;
/* rgb */ color: rgb(154, 76, 180);
/* oklch */ color: oklch(55.6% 0.171 316.9);
Tailwind
colors: {
  custom: {
    50: '#ba82cb',
    500: '#9a4cb4',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cb4;
$custom-light: #ba82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cb4",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 285,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.17074,
    "h": 316.9
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#9A4CB4
secondary
#A2C597
accent
#D15775
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9A4CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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