#B548C3#B548C3

#B548C3 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.204 H 323.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B548C3
RGBrgb(181, 72, 195)
HSLhsl(293, 51%, 52%)
HSVhsv(293, 63%, 76%)
CMYKcmyk(7.2%, 63.1%, 0%, 23.5%)
CIE-LABlab(49.98, 60.61, -44.09)
CIE-LCHlch(49.98, 74.95, 323.97°)
OKLaboklab(59.48% 0.1626 -0.1226)
OKLCHoklch(59.48% 0.204 323)
XYZxyz(31.2228, 18.4003, 53.5262)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548C3 #56C348
analogous
#7848C3 #B548C3 #C34893
triadic
#B548C3 #C3B548 #48C3B5
tetradic
#B548C3 #C37848 #56C348 #4893C3
square
#B548C3 #C37848 #56C348 #4893C3
split-complementary
#B548C3 #93C348 #48C378
monochromatic
#65246D #8F339B #B548C3 #C876D2 #DAA4E1

Accessibility & contrast

On white

4.49
#B548C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B548C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548C3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548C3#FFFFFF#000000##000000
##B548C31.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6FC7
Deuteranopia (green-blind)
#5A7BC0
Tritanopia (blue-blind)
#B85B7F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b548c3;
/* rgb */ color: rgb(181, 72, 195);
/* oklch */ color: oklch(59.5% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#ce82d6',
    500: '#b548c3',
    950: '#000000',
  },
}
SCSS
$custom: #b548c3;
$custom-light: #ce82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b548c3",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 293.171,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59476,
    "c": 0.20362,
    "h": 323
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#B548C3
secondary
#9FCE99
accent
#DA4E5E
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B548C3

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

Preview Lab → · Contrast checker → · Palette generator →

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