#B548DB#B548DB

#B548DB is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.9% C 0.225 H 316.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B548DB
RGBrgb(181, 72, 219)
HSLhsl(284, 67%, 57%)
HSVhsv(284, 67%, 86%)
CMYKcmyk(17.4%, 67.1%, 0%, 14.1%)
CIE-LABlab(51.35, 65.17, -55.65)
CIE-LCHlch(51.35, 85.70, 319.51°)
OKLaboklab(60.91% 0.1622 -0.1564)
OKLCHoklch(60.91% 0.225 316)
XYZxyz(34.1576, 19.5742, 68.9830)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548DB #6EDB48
analogous
#6C48DB #B548DB #DB48B7
triadic
#B548DB #DBB548 #48DBB5
tetradic
#B548DB #DB6C48 #6EDB48 #48B7DB
square
#B548DB #DB6C48 #6EDB48 #48B7DB
split-complementary
#B548DB #B7DB48 #48DB6C
monochromatic
#701C8D #9826C0 #B548DB #CA7BE5 #DEAEEF

Accessibility & contrast

On white

4.27
#B548DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B548DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548DB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548DB#FFFFFF#000000##000000
##B548DB1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#487DD8
Tritanopia (blue-blind)
#B3648C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b548db;
/* rgb */ color: rgb(181, 72, 219);
/* oklch */ color: oklch(60.9% 0.225 316.0);
Tailwind
colors: {
  custom: {
    50: '#cf83e7',
    500: '#b548db',
    950: '#000000',
  },
}
SCSS
$custom: #b548db;
$custom-light: #cf83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b548db",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 284.49,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.22529,
    "h": 316
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#B548DB
secondary
#B1DDA2
accent
#EA3E6A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B548DB

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

Preview Lab → · Contrast checker → · Palette generator →

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