#9A4CB2#9A4CB2

#9A4CB2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.5% C 0.169 H 317.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9A4CB2
RGBrgb(154, 76, 178)
HSLhsl(286, 40%, 50%)
HSVhsv(286, 57%, 70%)
CMYKcmyk(13.5%, 57.3%, 0%, 30.2%)
CIE-LABlab(45.98, 48.63, -40.77)
CIE-LCHlch(45.98, 63.46, 320.03°)
OKLaboklab(55.49% 0.1246 -0.1137)
OKLCHoklch(55.49% 0.169 317.6)
XYZxyz(23.9456, 15.2542, 43.7938)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CB2 #64B24C
analogous
#674CB2 #9A4CB2 #B24C97
triadic
#9A4CB2 #B29A4C #4CB29A
tetradic
#9A4CB2 #B2674C #64B24C #4C97B2
square
#9A4CB2 #B2674C #64B24C #4C97B2
split-complementary
#9A4CB2 #97B24C #4CB267
monochromatic
#50275C #753A87 #9A4CB2 #B276C5 #CAA1D7

Accessibility & contrast

On white

5.18
#9A4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9A4CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CB2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CB2#FFFFFF#000000##FFFFFF
##9A4CB21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#995C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a4cb2;
/* rgb */ color: rgb(154, 76, 178);
/* oklch */ color: oklch(55.5% 0.169 317.6);
Tailwind
colors: {
  custom: {
    50: '#ba82c9',
    500: '#9a4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cb2;
$custom-light: #ba82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cb2",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 285.882,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55491,
    "c": 0.16869,
    "h": 317.6
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#9A4CB2
secondary
#A1C496
accent
#D05874
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9A4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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