#B548B3#B548B3

#B548B3 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.190 H 328.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B548B3
RGBrgb(181, 72, 179)
HSLhsl(301, 43%, 50%)
HSVhsv(301, 60%, 71%)
CMYKcmyk(0%, 60.2%, 1.1%, 29%)
CIE-LABlab(49.15, 57.75, -36.10)
CIE-LCHlch(49.15, 68.11, 327.99°)
OKLaboklab(58.6% 0.1616 -0.0995)
OKLCHoklch(58.6% 0.19 328.4)
XYZxyz(29.5097, 17.7151, 44.5041)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548B3 #48B54A
analogous
#8148B5 #B548B3 #B5487D
triadic
#B548B3 #B3B548 #48B3B5
tetradic
#B548B3 #B58148 #48B54A #487DB5
square
#B548B3 #B58148 #48B54A #487DB5
split-complementary
#B548B3 #7DB548 #48B581
monochromatic
#5D255C #893788 #B548B3 #C773C6 #D99FD8

Accessibility & contrast

On white

4.62
#B548B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B548B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B548B3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548B3#FFFFFF#000000##FFFFFF
##B548B31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB6
Deuteranopia (green-blind)
#627AB0
Tritanopia (blue-blind)
#BB5577
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b548b3;
/* rgb */ color: rgb(181, 72, 179);
/* oklch */ color: oklch(58.6% 0.190 328.4);
Tailwind
colors: {
  custom: {
    50: '#ce82ca',
    500: '#b548b3',
    950: '#000000',
  },
}
SCSS
$custom: #b548b3;
$custom-light: #ce82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b548b3",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 301.101,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58604,
    "c": 0.18977,
    "h": 328.4
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#B548B3
secondary
#93C594
accent
#D35755
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B548B3

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

Preview Lab → · Contrast checker → · Palette generator →

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