#B548BF#B548BF

#B548BF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.200 H 324.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B548BF
RGBrgb(181, 72, 191)
HSLhsl(295, 48%, 52%)
HSVhsv(295, 62%, 75%)
CMYKcmyk(5.2%, 62.3%, 0%, 25.1%)
CIE-LABlab(49.76, 59.88, -42.11)
CIE-LCHlch(49.76, 73.21, 324.88°)
OKLaboklab(59.25% 0.1624 -0.1169)
OKLCHoklch(59.25% 0.2 324.3)
XYZxyz(30.7766, 18.2218, 51.1762)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548BF #52BF48
analogous
#7A48BF #B548BF #BF488E
triadic
#B548BF #BFB548 #48BFB5
tetradic
#B548BF #BF7A48 #52BF48 #488EBF
square
#B548BF #BF7A48 #52BF48 #488EBF
split-complementary
#B548BF #8EBF48 #48BF7A
monochromatic
#622468 #8D3496 #B548BF #C775CF #DAA3DF

Accessibility & contrast

On white

4.52
#B548BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B548BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548BF#FFFFFF#000000##000000
##B548BF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#326EC3
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#B8597D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b548bf;
/* rgb */ color: rgb(181, 72, 191);
/* oklch */ color: oklch(59.3% 0.200 324.3);
Tailwind
colors: {
  custom: {
    50: '#ce82d3',
    500: '#b548bf',
    950: '#000000',
  },
}
SCSS
$custom: #b548bf;
$custom-light: #ce82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b548bf",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 294.958,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59251,
    "c": 0.20011,
    "h": 324.3
  },
  "luminance": 0.1822
}

Semantic roles & 50–950 ramp

primary
#B548BF
secondary
#9CCC97
accent
#D8505B
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B548BF

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

Preview Lab → · Contrast checker → · Palette generator →

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