#B548D1#B548D1

#B548D1 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.3% C 0.216 H 318.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B548D1
RGBrgb(181, 72, 209)
HSLhsl(288, 60%, 55%)
HSVhsv(288, 66%, 82%)
CMYKcmyk(13.4%, 65.6%, 0%, 18%)
CIE-LABlab(50.76, 63.23, -50.89)
CIE-LCHlch(50.76, 81.17, 321.17°)
OKLaboklab(60.29% 0.1626 -0.1424)
OKLCHoklch(60.29% 0.216 318.8)
XYZxyz(32.8805, 19.0634, 62.2569)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548D1 #64D148
analogous
#7048D1 #B548D1 #D148A9
triadic
#B548D1 #D1B548 #48D1B5
tetradic
#B548D1 #D17048 #64D148 #48A9D1
square
#B548D1 #D17048 #64D148 #48A9D1
split-complementary
#B548D1 #A9D148 #48D170
monochromatic
#6B207F #952CB0 #B548D1 #C979DD #DDAAEA

Accessibility & contrast

On white

4.36
#B548D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B548D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548D1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548D1#FFFFFF#000000##000000
##B548D11.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1672D5
Deuteranopia (green-blind)
#507CCE
Tritanopia (blue-blind)
#B56087
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b548d1;
/* rgb */ color: rgb(181, 72, 209);
/* oklch */ color: oklch(60.3% 0.216 318.8);
Tailwind
colors: {
  custom: {
    50: '#cf83e0',
    500: '#b548d1',
    950: '#000000',
  },
}
SCSS
$custom: #b548d1;
$custom-light: #cf83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b548d1",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 287.737,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60294,
    "c": 0.21617,
    "h": 318.8
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#B548D1
secondary
#A9D79E
accent
#E34565
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B548D1

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

Preview Lab → · Contrast checker → · Palette generator →

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