#B548D6#B548D6

#B548D6 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.221 H 317.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B548D6
RGBrgb(181, 72, 214)
HSLhsl(286, 63%, 56%)
HSVhsv(286, 66%, 84%)
CMYKcmyk(15.4%, 66.4%, 0%, 16.1%)
CIE-LABlab(51.05, 64.20, -53.28)
CIE-LCHlch(51.05, 83.43, 320.31°)
OKLaboklab(60.6% 0.1624 -0.1494)
OKLCHoklch(60.6% 0.221 317.4)
XYZxyz(33.5093, 19.3149, 65.5683)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548D6 #69D648
analogous
#6E48D6 #B548D6 #D648B0
triadic
#B548D6 #D6B548 #48D6B5
tetradic
#B548D6 #D66E48 #69D648 #48B0D6
square
#B548D6 #D66E48 #69D648 #48B0D6
split-complementary
#B548D6 #B0D648 #48D66E
monochromatic
#6E1E86 #9729B8 #B548D6 #C97AE1 #DDACEC

Accessibility & contrast

On white

4.32
#B548D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B548D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548D6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548D6#FFFFFF#000000##000000
##B548D61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0373DA
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#B46289
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b548d6;
/* rgb */ color: rgb(181, 72, 214);
/* oklch */ color: oklch(60.6% 0.221 317.4);
Tailwind
colors: {
  custom: {
    50: '#cf83e3',
    500: '#b548d6',
    950: '#000000',
  },
}
SCSS
$custom: #b548d6;
$custom-light: #cf83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b548d6",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 286.056,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60598,
    "c": 0.22072,
    "h": 317.4
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#B548D6
secondary
#ADDAA0
accent
#E64168
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B548D6

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

Preview Lab → · Contrast checker → · Palette generator →

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