#B548BC#B548BC

#B548BC is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.1% C 0.197 H 325.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B548BC
RGBrgb(181, 72, 188)
HSLhsl(296, 46%, 51%)
HSVhsv(296, 62%, 74%)
CMYKcmyk(3.7%, 61.7%, 0%, 26.3%)
CIE-LABlab(49.61, 59.34, -40.62)
CIE-LCHlch(49.61, 71.91, 325.60°)
OKLaboklab(59.09% 0.1623 -0.1125)
OKLCHoklch(59.09% 0.197 325.3)
XYZxyz(30.4498, 18.0911, 49.4553)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548BC #4FBC48
analogous
#7B48BC #B548BC #BC4889
triadic
#B548BC #BCB548 #48BCB5
tetradic
#B548BC #BC7B48 #4FBC48 #4889BC
square
#B548BC #BC7B48 #4FBC48 #4889BC
split-complementary
#B548BC #89BC48 #48BC7B
monochromatic
#612565 #8C3592 #B548BC #C775CC #D9A2DD

Accessibility & contrast

On white

4.55
#B548BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B548BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548BC#FFFFFF#000000##000000
##B548BC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#356DC0
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#B9587C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b548bc;
/* rgb */ color: rgb(181, 72, 188);
/* oklch */ color: oklch(59.1% 0.197 325.3);
Tailwind
colors: {
  custom: {
    50: '#ce82d0',
    500: '#b548bc',
    950: '#000000',
  },
}
SCSS
$custom: #b548bc;
$custom-light: #ce82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b548bc",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 296.379,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.19748,
    "h": 325.3
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#B548BC
secondary
#99CA96
accent
#D6525A
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B548BC

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

Preview Lab → · Contrast checker → · Palette generator →

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