#B548B2#B548B2

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

Color values

HEX#B548B2
RGBrgb(181, 72, 178)
HSLhsl(302, 43%, 50%)
HSVhsv(302, 60%, 71%)
CMYKcmyk(0%, 60.2%, 1.7%, 29%)
CIE-LABlab(49.10, 57.58, -35.59)
CIE-LCHlch(49.10, 67.69, 328.28°)
OKLaboklab(58.55% 0.1615 -0.098)
OKLCHoklch(58.55% 0.189 328.8)
XYZxyz(29.4090, 17.6748, 43.9734)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548B2 #48B54B
analogous
#8148B5 #B548B2 #B5487C
triadic
#B548B2 #B2B548 #48B2B5
tetradic
#B548B2 #B58148 #48B54B #487CB5
square
#B548B2 #B58148 #48B54B #487CB5
split-complementary
#B548B2 #7CB548 #48B581
monochromatic
#5D255C #893787 #B548B2 #C773C5 #D99FD7

Accessibility & contrast

On white

4.63
#B548B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B548B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B548B2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548B2#FFFFFF#000000##FFFFFF
##B548B21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#BB5576
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b548b2;
/* rgb */ color: rgb(181, 72, 178);
/* oklch */ color: oklch(58.6% 0.189 328.8);
Tailwind
colors: {
  custom: {
    50: '#ce82c9',
    500: '#b548b2',
    950: '#000000',
  },
}
SCSS
$custom: #b548b2;
$custom-light: #ce82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b548b2",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 301.651,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58552,
    "c": 0.18893,
    "h": 328.8
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#B548B2
secondary
#93C595
accent
#D35855
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B548B2

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

Preview Lab → · Contrast checker → · Palette generator →

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