#B548D3#B548D3

#B548D3 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.4% C 0.218 H 318.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B548D3
RGBrgb(181, 72, 211)
HSLhsl(287, 61%, 55%)
HSVhsv(287, 66%, 83%)
CMYKcmyk(14.2%, 65.9%, 0%, 17.3%)
CIE-LABlab(50.88, 63.62, -51.85)
CIE-LCHlch(50.88, 82.07, 320.82°)
OKLaboklab(60.41% 0.1626 -0.1452)
OKLCHoklch(60.41% 0.218 318.2)
XYZxyz(33.1297, 19.1631, 63.5691)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548D3 #66D348
analogous
#6F48D3 #B548D3 #D348AC
triadic
#B548D3 #D3B548 #48D3B5
tetradic
#B548D3 #D36F48 #66D348 #48ACD3
square
#B548D3 #D36F48 #66D348 #48ACD3
split-complementary
#B548D3 #ACD348 #48D36F
monochromatic
#6C1F81 #952BB3 #B548D3 #C979DF #DDABEB

Accessibility & contrast

On white

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

On black

4.83
#B548D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548D3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548D3#FFFFFF#000000##000000
##B548D31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1072D7
Deuteranopia (green-blind)
#4E7DD0
Tritanopia (blue-blind)
#B46188
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b548d3;
/* rgb */ color: rgb(181, 72, 211);
/* oklch */ color: oklch(60.4% 0.218 318.2);
Tailwind
colors: {
  custom: {
    50: '#cf83e1',
    500: '#b548d3',
    950: '#000000',
  },
}
SCSS
$custom: #b548d3;
$custom-light: #cf83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b548d3",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 287.05,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.21799,
    "h": 318.2
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#B548D3
secondary
#ABD89E
accent
#E44366
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B548D3

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

Preview Lab → · Contrast checker → · Palette generator →

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