#B548E7#B548E7

#B548E7 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.236 H 313.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B548E7
RGBrgb(181, 72, 231)
HSLhsl(281, 77%, 59%)
HSVhsv(281, 69%, 91%)
CMYKcmyk(21.6%, 68.8%, 0%, 9.4%)
CIE-LABlab(52.10, 67.56, -61.25)
CIE-LCHlch(52.10, 91.19, 317.81°)
OKLaboklab(61.68% 0.1613 -0.1728)
OKLCHoklch(61.68% 0.236 313)
XYZxyz(35.7947, 20.2291, 77.6048)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548E7 #7AE748
analogous
#6648E7 #B548E7 #E748CA
triadic
#B548E7 #E7B548 #48E7B5
tetradic
#B548E7 #E76648 #7AE748 #48CAE7
square
#B548E7 #E76648 #7AE748 #48CAE7
split-complementary
#B548E7 #CAE748 #48E766
monochromatic
#7415A0 #9B1CD6 #B548E7 #CB7EEE #E1B4F5

Accessibility & contrast

On white

4.16
#B548E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B548E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548E7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548E7#FFFFFF#000000##000000
##B548E71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#3B7FE3
Tritanopia (blue-blind)
#B06993
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b548e7;
/* rgb */ color: rgb(181, 72, 231);
/* oklch */ color: oklch(61.7% 0.236 313.0);
Tailwind
colors: {
  custom: {
    50: '#d083ef',
    500: '#b548e7',
    950: '#000000',
  },
}
SCSS
$custom: #b548e7;
$custom-light: #d083ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b548e7",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 281.132,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61677,
    "c": 0.23634,
    "h": 313
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#B548E7
secondary
#BAE4A6
accent
#F33470
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B548E7

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

Preview Lab → · Contrast checker → · Palette generator →

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