#B548E3#B548E3

#B548E3 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.233 H 314.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B548E3
RGBrgb(181, 72, 227)
HSLhsl(282, 73%, 59%)
HSVhsv(282, 68%, 89%)
CMYKcmyk(20.3%, 68.3%, 0%, 11%)
CIE-LABlab(51.84, 66.76, -59.39)
CIE-LCHlch(51.84, 89.35, 318.34°)
OKLaboklab(61.42% 0.1616 -0.1673)
OKLCHoklch(61.42% 0.233 314)
XYZxyz(35.2362, 20.0057, 74.6635)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548E3 #76E348
analogous
#6748E3 #B548E3 #E348C3
triadic
#B548E3 #E3B548 #48E3B5
tetradic
#B548E3 #E36748 #76E348 #48C3E3
square
#B548E3 #E36748 #76E348 #48C3E3
split-complementary
#B548E3 #C3E348 #48E367
monochromatic
#731799 #9A20CE #B548E3 #CA7DEB #E0B2F3

Accessibility & contrast

On white

4.20
#B548E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B548E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548E3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548E3#FFFFFF#000000##000000
##B548E31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#3F7EDF
Tritanopia (blue-blind)
#B16890
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b548e3;
/* rgb */ color: rgb(181, 72, 227);
/* oklch */ color: oklch(61.4% 0.233 314.0);
Tailwind
colors: {
  custom: {
    50: '#cf83ed',
    500: '#b548e3',
    950: '#000000',
  },
}
SCSS
$custom: #b548e3;
$custom-light: #cf83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b548e3",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 282.194,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61417,
    "c": 0.23265,
    "h": 314
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#B548E3
secondary
#B7E2A5
accent
#F0386E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B548E3

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

Preview Lab → · Contrast checker → · Palette generator →

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