#B548CA#B548CA

#B548CA is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.210 H 320.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B548CA
RGBrgb(181, 72, 202)
HSLhsl(290, 55%, 54%)
HSVhsv(290, 64%, 79%)
CMYKcmyk(10.4%, 64.4%, 0%, 20.8%)
CIE-LABlab(50.36, 61.91, -47.51)
CIE-LCHlch(50.36, 78.04, 322.49°)
OKLaboklab(59.88% 0.1627 -0.1326)
OKLCHoklch(59.88% 0.21 320.8)
XYZxyz(32.0329, 18.7243, 57.7925)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548CA #5DCA48
analogous
#7448CA #B548CA #CA489E
triadic
#B548CA #CAB548 #48CAB5
tetradic
#B548CA #CA7448 #5DCA48 #489ECA
square
#B548CA #CA7448 #5DCA48 #489ECA
split-complementary
#B548CA #9ECA48 #48CA74
monochromatic
#682276 #9230A5 #B548CA #C877D8 #DBA7E5

Accessibility & contrast

On white

4.43
#B548CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B548CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548CA#FFFFFF#000000##000000
##B548CA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#B65E83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b548ca;
/* rgb */ color: rgb(181, 72, 202);
/* oklch */ color: oklch(59.9% 0.210 320.8);
Tailwind
colors: {
  custom: {
    50: '#ce82db',
    500: '#b548ca',
    950: '#000000',
  },
}
SCSS
$custom: #b548ca;
$custom-light: #ce82db;
$custom-dark: #000000;
JSON
{
  "hex": "#b548ca",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 290.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.20985,
    "h": 320.8
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#B548CA
secondary
#A4D39B
accent
#DE4961
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B548CA

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

Preview Lab → · Contrast checker → · Palette generator →

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