#B548E5#B548E5

#B548E5 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.5% C 0.234 H 313.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B548E5
RGBrgb(181, 72, 229)
HSLhsl(282, 75%, 59%)
HSVhsv(282, 69%, 90%)
CMYKcmyk(21%, 68.6%, 0%, 10.2%)
CIE-LABlab(51.97, 67.16, -60.32)
CIE-LCHlch(51.97, 90.27, 318.07°)
OKLaboklab(61.55% 0.1615 -0.1701)
OKLCHoklch(61.55% 0.235 313.5)
XYZxyz(35.5138, 20.1167, 76.1257)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548E5 #78E548
analogous
#6748E5 #B548E5 #E548C7
triadic
#B548E5 #E5B548 #48E5B5
tetradic
#B548E5 #E56748 #78E548 #48C7E5
square
#B548E5 #E56748 #78E548 #48C7E5
split-complementary
#B548E5 #C7E548 #48E567
monochromatic
#73169C #9B1ED2 #B548E5 #CB7EED #E0B3F4

Accessibility & contrast

On white

4.18
#B548E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B548E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548E5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548E5#FFFFFF#000000##000000
##B548E51.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#3D7EE1
Tritanopia (blue-blind)
#B06891
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b548e5;
/* rgb */ color: rgb(181, 72, 229);
/* oklch */ color: oklch(61.5% 0.234 313.5);
Tailwind
colors: {
  custom: {
    50: '#cf83ee',
    500: '#b548e5',
    950: '#000000',
  },
}
SCSS
$custom: #b548e5;
$custom-light: #cf83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b548e5",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 281.656,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.2345,
    "h": 313.5
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#B548E5
secondary
#B8E3A6
accent
#F2366F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B548E5

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

Preview Lab → · Contrast checker → · Palette generator →

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