#B548D8#B548D8

#B548D8 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.223 H 316.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B548D8
RGBrgb(181, 72, 216)
HSLhsl(285, 65%, 56%)
HSVhsv(285, 67%, 85%)
CMYKcmyk(16.2%, 66.7%, 0%, 15.3%)
CIE-LABlab(51.17, 64.58, -54.23)
CIE-LCHlch(51.17, 84.33, 319.98°)
OKLaboklab(60.72% 0.1624 -0.1522)
OKLCHoklch(60.72% 0.223 316.8)
XYZxyz(33.7662, 19.4177, 66.9218)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548D8 #6BD848
analogous
#6D48D8 #B548D8 #D848B3
triadic
#B548D8 #D8B548 #48D8B5
tetradic
#B548D8 #D86D48 #6BD848 #48B3D8
square
#B548D8 #D86D48 #6BD848 #48B3D8
split-complementary
#B548D8 #B3D848 #48D86D
monochromatic
#6E1D89 #9728BB #B548D8 #C97AE3 #DEADEE

Accessibility & contrast

On white

4.30
#B548D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B548D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548D8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548D8#FFFFFF#000000##000000
##B548D81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#4A7DD5
Tritanopia (blue-blind)
#B3638A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b548d8;
/* rgb */ color: rgb(181, 72, 216);
/* oklch */ color: oklch(60.7% 0.223 316.8);
Tailwind
colors: {
  custom: {
    50: '#cf83e5',
    500: '#b548d8',
    950: '#000000',
  },
}
SCSS
$custom: #b548d8;
$custom-light: #cf83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b548d8",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 285.417,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.22254,
    "h": 316.8
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#B548D8
secondary
#AFDBA0
accent
#E84069
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B548D8

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

Preview Lab → · Contrast checker → · Palette generator →

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