#B548E8#B548E8

#B548E8 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.7% C 0.237 H 312.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B548E8
RGBrgb(181, 72, 232)
HSLhsl(281, 78%, 60%)
HSVhsv(281, 69%, 91%)
CMYKcmyk(22%, 69%, 0%, 9%)
CIE-LABlab(52.16, 67.76, -61.71)
CIE-LCHlch(52.16, 91.65, 317.68°)
OKLaboklab(61.74% 0.1612 -0.1741)
OKLCHoklch(61.74% 0.237 312.8)
XYZxyz(35.9363, 20.2857, 78.3508)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548E8 #7BE848
analogous
#6548E8 #B548E8 #E848CB
triadic
#B548E8 #E8B548 #48E8B5
tetradic
#B548E8 #E86548 #7BE848 #48CBE8
square
#B548E8 #E86548 #7BE848 #48CBE8
split-complementary
#B548E8 #CBE848 #48E865
monochromatic
#7414A1 #9C1BD8 #B548E8 #CB7EEF #E1B5F6

Accessibility & contrast

On white

4.15
#B548E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B548E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548E8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548E8#FFFFFF#000000##000000
##B548E81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#397FE4
Tritanopia (blue-blind)
#AF6A93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b548e8;
/* rgb */ color: rgb(181, 72, 232);
/* oklch */ color: oklch(61.7% 0.237 312.8);
Tailwind
colors: {
  custom: {
    50: '#d083f0',
    500: '#b548e8',
    950: '#000000',
  },
}
SCSS
$custom: #b548e8;
$custom-light: #d083f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b548e8",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 280.875,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61742,
    "c": 0.23727,
    "h": 312.8
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#B548E8
secondary
#BBE5A7
accent
#F43471
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B548E8

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

Preview Lab → · Contrast checker → · Palette generator →

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