#9549BA#9549BA

#9549BA is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.9% C 0.179 H 313.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9549BA
RGBrgb(149, 73, 186)
HSLhsl(280, 45%, 51%)
HSVhsv(280, 61%, 73%)
CMYKcmyk(19.9%, 60.8%, 0%, 27.1%)
CIE-LABlab(45.22, 50.55, -46.70)
CIE-LCHlch(45.22, 68.82, 317.27°)
OKLaboklab(54.94% 0.1225 -0.1311)
OKLCHoklch(54.94% 0.179 313)
XYZxyz(23.6384, 14.7005, 48.0371)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9549BA #6EBA49
analogous
#5C49BA #9549BA #BA49A6
triadic
#9549BA #BA9549 #49BA95
tetradic
#9549BA #BA5C49 #6EBA49 #49A6BA
square
#9549BA #BA5C49 #6EBA49 #49A6BA
split-complementary
#9549BA #A6BA49 #49BA5C
monochromatic
#4F2663 #72368F #9549BA #AF75CB #C9A2DC

Accessibility & contrast

On white

5.33
#9549BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9549BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9549BA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9549BA#FFFFFF#000000##FFFFFF
##9549BA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#436DB7
Tritanopia (blue-blind)
#915E7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9549ba;
/* rgb */ color: rgb(149, 73, 186);
/* oklch */ color: oklch(54.9% 0.179 313.0);
Tailwind
colors: {
  custom: {
    50: '#b780cf',
    500: '#9549ba',
    950: '#000000',
  },
}
SCSS
$custom: #9549ba;
$custom-light: #b780cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9549ba",
  "rgb": {
    "r": 149,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 280.354,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.17943,
    "h": 313
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#9549BA
secondary
#A7C896
accent
#D5537E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9549BA

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

Preview Lab → · Contrast checker → · Palette generator →

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