#B548D5#B548D5

#B548D5 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.220 H 317.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B548D5
RGBrgb(181, 72, 213)
HSLhsl(286, 63%, 56%)
HSVhsv(286, 66%, 84%)
CMYKcmyk(15%, 66.2%, 0%, 16.5%)
CIE-LABlab(50.99, 64.00, -52.81)
CIE-LCHlch(50.99, 82.97, 320.48°)
OKLaboklab(60.54% 0.1625 -0.148)
OKLCHoklch(60.54% 0.22 317.7)
XYZxyz(33.3820, 19.2640, 64.8978)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548D5 #68D548
analogous
#6E48D5 #B548D5 #D548AE
triadic
#B548D5 #D5B548 #48D5B5
tetradic
#B548D5 #D56E48 #68D548 #48AED5
square
#B548D5 #D56E48 #68D548 #48AED5
split-complementary
#B548D5 #AED548 #48D56E
monochromatic
#6D1E84 #962AB6 #B548D5 #C97AE0 #DDACEC

Accessibility & contrast

On white

4.33
#B548D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B548D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548D5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548D5#FFFFFF#000000##000000
##B548D51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0773D9
Deuteranopia (green-blind)
#4D7DD2
Tritanopia (blue-blind)
#B46289
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b548d5;
/* rgb */ color: rgb(181, 72, 213);
/* oklch */ color: oklch(60.5% 0.220 317.7);
Tailwind
colors: {
  custom: {
    50: '#cf83e2',
    500: '#b548d5',
    950: '#000000',
  },
}
SCSS
$custom: #b548d5;
$custom-light: #cf83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b548d5",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 286.383,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.21981,
    "h": 317.7
  },
  "luminance": 0.19263
}

Semantic roles & 50–950 ramp

primary
#B548D5
secondary
#ACDA9F
accent
#E64267
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B548D5

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

Preview Lab → · Contrast checker → · Palette generator →

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