#B548E1#B548E1

#B548E1 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.231 H 314.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B548E1
RGBrgb(181, 72, 225)
HSLhsl(283, 72%, 58%)
HSVhsv(283, 68%, 88%)
CMYKcmyk(19.6%, 68%, 0%, 11.8%)
CIE-LABlab(51.72, 66.36, -58.46)
CIE-LCHlch(51.72, 88.44, 318.62°)
OKLaboklab(61.29% 0.1618 -0.1646)
OKLCHoklch(61.29% 0.231 314.5)
XYZxyz(34.9618, 19.8959, 73.2182)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548E1 #74E148
analogous
#6848E1 #B548E1 #E148C0
triadic
#B548E1 #E1B548 #48E1B5
tetradic
#B548E1 #E16848 #74E148 #48C0E1
square
#B548E1 #E16848 #74E148 #48C0E1
split-complementary
#B548E1 #C0E148 #48E168
monochromatic
#721996 #9A21CB #B548E1 #CA7DEA #E0B1F2

Accessibility & contrast

On white

4.22
#B548E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B548E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548E1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548E1#FFFFFF#000000##000000
##B548E11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#427EDE
Tritanopia (blue-blind)
#B1678F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b548e1;
/* rgb */ color: rgb(181, 72, 225);
/* oklch */ color: oklch(61.3% 0.231 314.5);
Tailwind
colors: {
  custom: {
    50: '#cf83eb',
    500: '#b548e1',
    950: '#000000',
  },
}
SCSS
$custom: #b548e1;
$custom-light: #cf83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b548e1",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 282.745,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61288,
    "c": 0.23081,
    "h": 314.5
  },
  "luminance": 0.19895
}

Semantic roles & 50–950 ramp

primary
#B548E1
secondary
#B5E1A4
accent
#EF396D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B548E1

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

Preview Lab → · Contrast checker → · Palette generator →

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