#B548E2#B548E2

#B548E2 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.4% C 0.232 H 314.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B548E2
RGBrgb(181, 72, 226)
HSLhsl(282, 73%, 58%)
HSVhsv(282, 68%, 89%)
CMYKcmyk(19.9%, 68.1%, 0%, 11.4%)
CIE-LABlab(51.78, 66.56, -58.93)
CIE-LCHlch(51.78, 88.90, 318.48°)
OKLaboklab(61.35% 0.1617 -0.166)
OKLCHoklch(61.35% 0.232 314.3)
XYZxyz(35.0986, 19.9506, 73.9387)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548E2 #75E248
analogous
#6848E2 #B548E2 #E248C2
triadic
#B548E2 #E2B548 #48E2B5
tetradic
#B548E2 #E26848 #75E248 #48C2E2
square
#B548E2 #E26848 #75E248 #48C2E2
split-complementary
#B548E2 #C2E248 #48E268
monochromatic
#721898 #9A20CC #B548E2 #CA7DEA #E0B2F3

Accessibility & contrast

On white

4.21
#B548E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B548E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548E2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548E2#FFFFFF#000000##000000
##B548E21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#417EDE
Tritanopia (blue-blind)
#B16790
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b548e2;
/* rgb */ color: rgb(181, 72, 226);
/* oklch */ color: oklch(61.4% 0.232 314.3);
Tailwind
colors: {
  custom: {
    50: '#cf83ec',
    500: '#b548e2',
    950: '#000000',
  },
}
SCSS
$custom: #b548e2;
$custom-light: #cf83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b548e2",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 282.468,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61352,
    "c": 0.23172,
    "h": 314.3
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#B548E2
secondary
#B6E1A4
accent
#EF386E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B548E2

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

Preview Lab → · Contrast checker → · Palette generator →

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