#B548D4#B548D4

#B548D4 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.5% C 0.219 H 317.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B548D4
RGBrgb(181, 72, 212)
HSLhsl(287, 62%, 56%)
HSVhsv(287, 66%, 83%)
CMYKcmyk(14.6%, 66%, 0%, 16.9%)
CIE-LABlab(50.94, 63.81, -52.33)
CIE-LCHlch(50.94, 82.52, 320.65°)
OKLaboklab(60.48% 0.1625 -0.1466)
OKLCHoklch(60.48% 0.219 317.9)
XYZxyz(33.2554, 19.2134, 64.2314)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548D4 #67D448
analogous
#6F48D4 #B548D4 #D448AD
triadic
#B548D4 #D4B548 #48D4B5
tetradic
#B548D4 #D46F48 #67D448 #48ADD4
square
#B548D4 #D46F48 #67D448 #48ADD4
split-complementary
#B548D4 #ADD448 #48D46F
monochromatic
#6D1F83 #962AB4 #B548D4 #C97AE0 #DDABEB

Accessibility & contrast

On white

4.34
#B548D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B548D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548D4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548D4#FFFFFF#000000##000000
##B548D41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C72D8
Deuteranopia (green-blind)
#4E7DD1
Tritanopia (blue-blind)
#B46288
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b548d4;
/* rgb */ color: rgb(181, 72, 212);
/* oklch */ color: oklch(60.5% 0.219 317.9);
Tailwind
colors: {
  custom: {
    50: '#cf83e2',
    500: '#b548d4',
    950: '#000000',
  },
}
SCSS
$custom: #b548d4;
$custom-light: #cf83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b548d4",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 286.714,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.2189,
    "h": 317.9
  },
  "luminance": 0.19212
}

Semantic roles & 50–950 ramp

primary
#B548D4
secondary
#ACD99F
accent
#E54367
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B548D4

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

Preview Lab → · Contrast checker → · Palette generator →

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