#B548BE#B548BE

#B548BE is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.2% C 0.199 H 324.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B548BE
RGBrgb(181, 72, 190)
HSLhsl(295, 48%, 51%)
HSVhsv(295, 62%, 75%)
CMYKcmyk(4.7%, 62.1%, 0%, 25.5%)
CIE-LABlab(49.71, 59.70, -41.62)
CIE-LCHlch(49.71, 72.77, 325.12°)
OKLaboklab(59.2% 0.1624 -0.1154)
OKLCHoklch(59.2% 0.199 324.6)
XYZxyz(30.6669, 18.1780, 50.5986)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548BE #51BE48
analogous
#7A48BE #B548BE #BE488C
triadic
#B548BE #BEB548 #48BEB5
tetradic
#B548BE #BE7A48 #51BE48 #488CBE
square
#B548BE #BE7A48 #51BE48 #488CBE
split-complementary
#B548BE #8CBE48 #48BE7A
monochromatic
#622567 #8D3594 #B548BE #C775CE #DAA2DE

Accessibility & contrast

On white

4.53
#B548BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B548BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548BE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548BE#FFFFFF#000000##000000
##B548BE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#5C7BBB
Tritanopia (blue-blind)
#B9597D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b548be;
/* rgb */ color: rgb(181, 72, 190);
/* oklch */ color: oklch(59.2% 0.199 324.6);
Tailwind
colors: {
  custom: {
    50: '#ce82d2',
    500: '#b548be',
    950: '#000000',
  },
}
SCSS
$custom: #b548be;
$custom-light: #ce82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b548be",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 295.424,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59196,
    "c": 0.19923,
    "h": 324.6
  },
  "luminance": 0.18176
}

Semantic roles & 50–950 ramp

primary
#B548BE
secondary
#9BCB97
accent
#D7515B
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B548BE

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

Preview Lab → · Contrast checker → · Palette generator →

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