#9547AA#9547AA

#9547AA is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.7% C 0.166 H 318.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9547AA
RGBrgb(149, 71, 170)
HSLhsl(287, 41%, 47%)
HSVhsv(287, 58%, 67%)
CMYKcmyk(12.4%, 58.2%, 0%, 33.3%)
CIE-LABlab(43.94, 48.16, -39.33)
CIE-LCHlch(43.94, 62.18, 320.77°)
OKLaboklab(53.72% 0.1246 -0.1096)
OKLCHoklch(53.72% 0.166 318.7)
XYZxyz(21.9024, 13.7992, 39.5322)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9547AA #5CAA47
analogous
#6447AA #9547AA #AA478D
triadic
#9547AA #AA9547 #47AA95
tetradic
#9547AA #AA6447 #5CAA47 #478DAA
square
#9547AA #AA6447 #5CAA47 #478DAA
split-complementary
#9547AA #8DAA47 #47AA64
monochromatic
#492354 #6F357F #9547AA #B06CC2 #C798D4

Accessibility & contrast

On white

5.59
#9547AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9547AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9547AA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9547AA#FFFFFF#000000##FFFFFF
##9547AA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#4C6BA7
Tritanopia (blue-blind)
#955772
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9547aa;
/* rgb */ color: rgb(149, 71, 170);
/* oklch */ color: oklch(53.7% 0.166 318.7);
Tailwind
colors: {
  custom: {
    50: '#b77ec4',
    500: '#9547aa',
    950: '#000000',
  },
}
SCSS
$custom: #9547aa;
$custom-light: #b77ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#9547aa",
  "rgb": {
    "r": 149,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 287.273,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53718,
    "c": 0.16593,
    "h": 318.7
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#9547AA
secondary
#98C08D
accent
#D15771
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9547AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9547AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva