#B548CB#B548CB

#B548CB is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.211 H 320.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B548CB
RGBrgb(181, 72, 203)
HSLhsl(290, 56%, 54%)
HSVhsv(290, 65%, 80%)
CMYKcmyk(10.8%, 64.5%, 0%, 20.4%)
CIE-LABlab(50.42, 62.09, -48.00)
CIE-LCHlch(50.42, 78.48, 322.30°)
OKLaboklab(59.94% 0.1627 -0.134)
OKLCHoklch(59.94% 0.211 320.5)
XYZxyz(32.1516, 18.7718, 58.4181)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548CB #5ECB48
analogous
#7448CB #B548CB #CB48A0
triadic
#B548CB #CBB548 #48CBB5
tetradic
#B548CB #CB7448 #5ECB48 #48A0CB
square
#B548CB #CB7448 #5ECB48 #48A0CB
split-complementary
#B548CB #A0CB48 #48CB74
monochromatic
#692277 #922FA6 #B548CB #C878D9 #DCA7E6

Accessibility & contrast

On white

4.42
#B548CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B548CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548CB#FFFFFF#000000##000000
##B548CB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#B65E83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b548cb;
/* rgb */ color: rgb(181, 72, 203);
/* oklch */ color: oklch(59.9% 0.211 320.5);
Tailwind
colors: {
  custom: {
    50: '#ce82db',
    500: '#b548cb',
    950: '#000000',
  },
}
SCSS
$custom: #b548cb;
$custom-light: #ce82db;
$custom-dark: #000000;
JSON
{
  "hex": "#b548cb",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 289.924,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.21076,
    "h": 320.5
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#B548CB
secondary
#A5D39B
accent
#DF4962
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B548CB

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

Preview Lab → · Contrast checker → · Palette generator →

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