#B548B5#B548B5

#B548B5 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.191 H 327.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B548B5
RGBrgb(181, 72, 181)
HSLhsl(300, 43%, 50%)
HSVhsv(300, 60%, 71%)
CMYKcmyk(0%, 60.2%, 0%, 29%)
CIE-LABlab(49.25, 58.10, -37.11)
CIE-LCHlch(49.25, 68.94, 327.43°)
OKLaboklab(58.71% 0.1618 -0.1024)
OKLCHoklch(58.71% 0.191 327.7)
XYZxyz(29.7135, 17.7966, 45.5771)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548B5 #48B548
analogous
#7F48B5 #B548B5 #B5487F
triadic
#B548B5 #B5B548 #48B5B5
tetradic
#B548B5 #B57F48 #48B548 #487FB5
square
#B548B5 #B57F48 #48B548 #487FB5
split-complementary
#B548B5 #7FB548 #48B57F
monochromatic
#5D255D #893789 #B548B5 #C773C7 #D99FD9

Accessibility & contrast

On white

4.61
#B548B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B548B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B548B5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548B5#FFFFFF#000000##FFFFFF
##B548B51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#BA5678
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b548b5;
/* rgb */ color: rgb(181, 72, 181);
/* oklch */ color: oklch(58.7% 0.191 327.7);
Tailwind
colors: {
  custom: {
    50: '#ce82cb',
    500: '#b548b5',
    950: '#000000',
  },
}
SCSS
$custom: #b548b5;
$custom-light: #ce82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b548b5",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 300,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.19146,
    "h": 327.7
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

primary
#B548B5
secondary
#93C593
accent
#D35555
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B548B5

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

Preview Lab → · Contrast checker → · Palette generator →

#B548B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva