#B548D2#B548D2

#B548D2 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.217 H 318.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B548D2
RGBrgb(181, 72, 210)
HSLhsl(287, 61%, 55%)
HSVhsv(287, 66%, 82%)
CMYKcmyk(13.8%, 65.7%, 0%, 17.6%)
CIE-LABlab(50.82, 63.42, -51.37)
CIE-LCHlch(50.82, 81.62, 320.99°)
OKLaboklab(60.35% 0.1626 -0.1438)
OKLCHoklch(60.35% 0.217 318.5)
XYZxyz(33.0047, 19.1131, 62.9109)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548D2 #65D248
analogous
#7048D2 #B548D2 #D248AA
triadic
#B548D2 #D2B548 #48D2B5
tetradic
#B548D2 #D27048 #65D248 #48AAD2
square
#B548D2 #D27048 #65D248 #48AAD2
split-complementary
#B548D2 #AAD248 #48D270
monochromatic
#6C2080 #952CB1 #B548D2 #C979DE #DDAAEA

Accessibility & contrast

On white

4.35
#B548D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B548D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548D2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548D2#FFFFFF#000000##000000
##B548D21.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1372D6
Deuteranopia (green-blind)
#4F7DCF
Tritanopia (blue-blind)
#B56187
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b548d2;
/* rgb */ color: rgb(181, 72, 210);
/* oklch */ color: oklch(60.4% 0.217 318.5);
Tailwind
colors: {
  custom: {
    50: '#cf83e0',
    500: '#b548d2',
    950: '#000000',
  },
}
SCSS
$custom: #b548d2;
$custom-light: #cf83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b548d2",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 287.391,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.21708,
    "h": 318.5
  },
  "luminance": 0.19112
}

Semantic roles & 50–950 ramp

primary
#B548D2
secondary
#AAD89E
accent
#E44466
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B548D2

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

Preview Lab → · Contrast checker → · Palette generator →

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