#B548C7#B548C7

#B548C7 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.207 H 321.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B548C7
RGBrgb(181, 72, 199)
HSLhsl(291, 53%, 53%)
HSVhsv(291, 64%, 78%)
CMYKcmyk(9%, 63.8%, 0%, 22%)
CIE-LABlab(50.20, 61.35, -46.05)
CIE-LCHlch(50.20, 76.71, 323.11°)
OKLaboklab(59.7% 0.1627 -0.1283)
OKLCHoklch(59.7% 0.207 321.7)
XYZxyz(31.6811, 18.5836, 55.9400)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548C7 #5AC748
analogous
#7548C7 #B548C7 #C74899
triadic
#B548C7 #C7B548 #48C7B5
tetradic
#B548C7 #C77548 #5AC748 #4899C7
square
#B548C7 #C77548 #5AC748 #4899C7
split-complementary
#B548C7 #99C748 #48C775
monochromatic
#672372 #9131A1 #B548C7 #C877D5 #DBA6E4

Accessibility & contrast

On white

4.45
#B548C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B548C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548C7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548C7#FFFFFF#000000##000000
##B548C71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2870CB
Deuteranopia (green-blind)
#577CC4
Tritanopia (blue-blind)
#B75D81
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b548c7;
/* rgb */ color: rgb(181, 72, 199);
/* oklch */ color: oklch(59.7% 0.207 321.7);
Tailwind
colors: {
  custom: {
    50: '#ce82d8',
    500: '#b548c7',
    950: '#000000',
  },
}
SCSS
$custom: #b548c7;
$custom-light: #ce82d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b548c7",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 291.496,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59704,
    "c": 0.20717,
    "h": 321.7
  },
  "luminance": 0.18582
}

Semantic roles & 50–950 ramp

primary
#B548C7
secondary
#A2D19A
accent
#DD4B60
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B548C7

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

Preview Lab → · Contrast checker → · Palette generator →

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