#B548C8#B548C8

#B548C8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.208 H 321.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B548C8
RGBrgb(181, 72, 200)
HSLhsl(291, 54%, 53%)
HSVhsv(291, 64%, 78%)
CMYKcmyk(9.5%, 64%, 0%, 21.6%)
CIE-LABlab(50.25, 61.53, -46.54)
CIE-LCHlch(50.25, 77.15, 322.90°)
OKLaboklab(59.76% 0.1627 -0.1297)
OKLCHoklch(59.76% 0.208 321.4)
XYZxyz(31.7976, 18.6302, 56.5535)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548C8 #5BC848
analogous
#7548C8 #B548C8 #C8489B
triadic
#B548C8 #C8B548 #48C8B5
tetradic
#B548C8 #C87548 #5BC848 #489BC8
square
#B548C8 #C87548 #5BC848 #489BC8
split-complementary
#B548C8 #9BC848 #48C875
monochromatic
#672373 #9131A2 #B548C8 #C877D6 #DBA6E4

Accessibility & contrast

On white

4.44
#B548C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B548C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548C8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548C8#FFFFFF#000000##000000
##B548C81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#567CC5
Tritanopia (blue-blind)
#B75D82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b548c8;
/* rgb */ color: rgb(181, 72, 200);
/* oklch */ color: oklch(59.8% 0.208 321.4);
Tailwind
colors: {
  custom: {
    50: '#ce82d9',
    500: '#b548c8',
    950: '#000000',
  },
}
SCSS
$custom: #b548c8;
$custom-light: #ce82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b548c8",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 291.094,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.20806,
    "h": 321.4
  },
  "luminance": 0.18629
}

Semantic roles & 50–950 ramp

primary
#B548C8
secondary
#A3D19A
accent
#DD4B60
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B548C8

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

Preview Lab → · Contrast checker → · Palette generator →

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