#9545BB#9545BB

#9545BB is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.5% C 0.186 H 313.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9545BB
RGBrgb(149, 69, 187)
HSLhsl(281, 46%, 50%)
HSVhsv(281, 63%, 73%)
CMYKcmyk(20.3%, 63.1%, 0%, 26.7%)
CIE-LABlab(44.57, 52.71, -48.33)
CIE-LCHlch(44.57, 71.52, 317.48°)
OKLaboklab(54.49% 0.1274 -0.1359)
OKLCHoklch(54.49% 0.186 313.2)
XYZxyz(23.4906, 14.2343, 48.5141)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545BB #6BBB45
analogous
#5A45BB #9545BB #BB45A6
triadic
#9545BB #BB9545 #45BB95
tetradic
#9545BB #BB5A45 #6BBB45 #45A6BB
square
#9545BB #BB5A45 #6BBB45 #45A6BB
split-complementary
#9545BB #A6BB45 #45BB5A
monochromatic
#4E2462 #72348F #9545BB #AF72CB #C89FDC

Accessibility & contrast

On white

5.46
#9545BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9545BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545BB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545BB#FFFFFF#000000##FFFFFF
##9545BB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#915B7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9545bb;
/* rgb */ color: rgb(149, 69, 187);
/* oklch */ color: oklch(54.5% 0.186 313.2);
Tailwind
colors: {
  custom: {
    50: '#b77ed0',
    500: '#9545bb',
    950: '#000000',
  },
}
SCSS
$custom: #9545bb;
$custom-light: #b77ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9545bb",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 280.678,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.18626,
    "h": 313.2
  },
  "luminance": 0.14234
}

Semantic roles & 50–950 ramp

primary
#9545BB
secondary
#A5C894
accent
#D6527C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9545BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9545BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva