#9A4BB2#9A4BB2

#9A4BB2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.4% C 0.170 H 317.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9A4BB2
RGBrgb(154, 75, 178)
HSLhsl(286, 41%, 50%)
HSVhsv(286, 58%, 70%)
CMYKcmyk(13.5%, 57.9%, 0%, 30.2%)
CIE-LABlab(45.79, 49.13, -41.06)
CIE-LCHlch(45.79, 64.03, 320.11°)
OKLaboklab(55.36% 0.1259 -0.1145)
OKLCHoklch(55.36% 0.17 317.7)
XYZxyz(23.8773, 15.1174, 43.7710)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BB2 #63B24B
analogous
#664BB2 #9A4BB2 #B24B97
triadic
#9A4BB2 #B29A4B #4BB29A
tetradic
#9A4BB2 #B2664B #63B24B #4B97B2
square
#9A4BB2 #B2664B #63B24B #4B97B2
split-complementary
#9A4BB2 #97B24B #4BB266
monochromatic
#4F275C #753987 #9A4BB2 #B275C5 #CAA0D7

Accessibility & contrast

On white

5.22
#9A4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9A4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BB2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BB2#FFFFFF#000000##FFFFFF
##9A4BB21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#995C77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a4bb2;
/* rgb */ color: rgb(154, 75, 178);
/* oklch */ color: oklch(55.4% 0.170 317.7);
Tailwind
colors: {
  custom: {
    50: '#ba81c9',
    500: '#9a4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bb2;
$custom-light: #ba81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bb2",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 286.019,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.17024,
    "h": 317.7
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#9A4BB2
secondary
#A0C495
accent
#D15774
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9A4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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