#9548BB#9548BB

#9548BB is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.182 H 312.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9548BB
RGBrgb(149, 72, 187)
HSLhsl(280, 46%, 51%)
HSVhsv(280, 61%, 73%)
CMYKcmyk(20.3%, 61.5%, 0%, 26.7%)
CIE-LABlab(45.10, 51.26, -47.48)
CIE-LCHlch(45.10, 69.87, 317.19°)
OKLaboklab(54.87% 0.1237 -0.1334)
OKLCHoklch(54.87% 0.182 312.8)
XYZxyz(23.6799, 14.6128, 48.5772)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548BB #6EBB48
analogous
#5B48BB #9548BB #BB48A7
triadic
#9548BB #BB9548 #48BB95
tetradic
#9548BB #BB5B48 #6EBB48 #48A7BB
square
#9548BB #BB5B48 #6EBB48 #48A7BB
split-complementary
#9548BB #A7BB48 #48BB5B
monochromatic
#4F2564 #723690 #9548BB #AF75CC #C9A1DC

Accessibility & contrast

On white

5.35
#9548BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9548BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548BB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548BB#FFFFFF#000000##FFFFFF
##9548BB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#416CB8
Tritanopia (blue-blind)
#915D7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9548bb;
/* rgb */ color: rgb(149, 72, 187);
/* oklch */ color: oklch(54.9% 0.182 312.8);
Tailwind
colors: {
  custom: {
    50: '#b77fd0',
    500: '#9548bb',
    950: '#000000',
  },
}
SCSS
$custom: #9548bb;
$custom-light: #b77fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9548bb",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 280.174,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.18195,
    "h": 312.8
  },
  "luminance": 0.14612
}

Semantic roles & 50–950 ramp

primary
#9548BB
secondary
#A7C996
accent
#D5527E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9548BB

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

Preview Lab → · Contrast checker → · Palette generator →

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