#B548C2#B548C2

#B548C2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.4% C 0.203 H 323.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B548C2
RGBrgb(181, 72, 194)
HSLhsl(294, 50%, 52%)
HSVhsv(294, 63%, 76%)
CMYKcmyk(6.7%, 62.9%, 0%, 23.9%)
CIE-LABlab(49.92, 60.42, -43.60)
CIE-LCHlch(49.92, 74.51, 324.19°)
OKLaboklab(59.42% 0.1625 -0.1212)
OKLCHoklch(59.42% 0.203 323.3)
XYZxyz(31.1101, 18.3552, 52.9327)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548C2 #55C248
analogous
#7848C2 #B548C2 #C24892
triadic
#B548C2 #C2B548 #48C2B5
tetradic
#B548C2 #C27848 #55C248 #4892C2
square
#B548C2 #C27848 #55C248 #4892C2
split-complementary
#B548C2 #92C248 #48C278
monochromatic
#64246C #8F339A #B548C2 #C876D1 #DAA4E1

Accessibility & contrast

On white

4.50
#B548C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B548C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548C2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548C2#FFFFFF#000000##000000
##B548C21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC6
Deuteranopia (green-blind)
#5A7BBF
Tritanopia (blue-blind)
#B85B7F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b548c2;
/* rgb */ color: rgb(181, 72, 194);
/* oklch */ color: oklch(59.4% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#ce82d5',
    500: '#b548c2',
    950: '#000000',
  },
}
SCSS
$custom: #b548c2;
$custom-light: #ce82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b548c2",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 293.607,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59419,
    "c": 0.20274,
    "h": 323.3
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#B548C2
secondary
#9ECE98
accent
#DA4E5D
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B548C2

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

Preview Lab → · Contrast checker → · Palette generator →

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