#B548CC#B548CC

#B548CC is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.212 H 320.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B548CC
RGBrgb(181, 72, 204)
HSLhsl(290, 56%, 54%)
HSVhsv(290, 65%, 80%)
CMYKcmyk(11.3%, 64.7%, 0%, 20%)
CIE-LABlab(50.48, 62.28, -48.48)
CIE-LCHlch(50.48, 78.93, 322.10°)
OKLaboklab(60% 0.1627 -0.1354)
OKLCHoklch(60% 0.212 320.2)
XYZxyz(32.2712, 18.8197, 59.0477)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548CC #5FCC48
analogous
#7348CC #B548CC #CC48A1
triadic
#B548CC #CCB548 #48CCB5
tetradic
#B548CC #CC7348 #5FCC48 #48A1CC
square
#B548CC #CC7348 #5FCC48 #48A1CC
split-complementary
#B548CC #A1CC48 #48CC73
monochromatic
#692178 #932FA8 #B548CC #C878D9 #DCA8E7

Accessibility & contrast

On white

4.41
#B548CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B548CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548CC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548CC#FFFFFF#000000##000000
##B548CC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#B65F84
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b548cc;
/* rgb */ color: rgb(181, 72, 204);
/* oklch */ color: oklch(60.0% 0.212 320.2);
Tailwind
colors: {
  custom: {
    50: '#cf83dc',
    500: '#b548cc',
    950: '#000000',
  },
}
SCSS
$custom: #b548cc;
$custom-light: #cf83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b548cc",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 289.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59996,
    "c": 0.21165,
    "h": 320.2
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#B548CC
secondary
#A6D49C
accent
#E04863
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B548CC

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

Preview Lab → · Contrast checker → · Palette generator →

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