#9547BA#9547BA

#9547BA is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.7% C 0.182 H 313.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9547BA
RGBrgb(149, 71, 186)
HSLhsl(281, 45%, 50%)
HSVhsv(281, 62%, 73%)
CMYKcmyk(19.9%, 61.8%, 0%, 27.1%)
CIE-LABlab(44.86, 51.53, -47.28)
CIE-LCHlch(44.86, 69.93, 317.47°)
OKLaboklab(54.68% 0.125 -0.1328)
OKLCHoklch(54.68% 0.182 313.3)
XYZxyz(23.5091, 14.4419, 47.9940)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9547BA #6CBA47
analogous
#5B47BA #9547BA #BA47A5
triadic
#9547BA #BA9547 #47BA95
tetradic
#9547BA #BA5B47 #6CBA47 #47A5BA
square
#9547BA #BA5B47 #6CBA47 #47A5BA
split-complementary
#9547BA #A5BA47 #47BA5B
monochromatic
#4E2562 #72358E #9547BA #AF74CB #C8A0DB

Accessibility & contrast

On white

5.40
#9547BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9547BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9547BA#FFFFFF#000000##FFFFFF
##9547BA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#915C7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9547ba;
/* rgb */ color: rgb(149, 71, 186);
/* oklch */ color: oklch(54.7% 0.182 313.3);
Tailwind
colors: {
  custom: {
    50: '#b77fcf',
    500: '#9547ba',
    950: '#000000',
  },
}
SCSS
$custom: #9547ba;
$custom-light: #b77fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9547ba",
  "rgb": {
    "r": 149,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 280.696,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54682,
    "c": 0.18236,
    "h": 313.3
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#9547BA
secondary
#A5C895
accent
#D5537D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9547BA

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

Preview Lab → · Contrast checker → · Palette generator →

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