#B54FE8#B54FE8

#B54FE8 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.5% C 0.229 H 312.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B54FE8
RGBrgb(181, 79, 232)
HSLhsl(280, 77%, 61%)
HSVhsv(280, 66%, 91%)
CMYKcmyk(22%, 65.9%, 0%, 9%)
CIE-LABlab(53.21, 64.81, -60.01)
CIE-LCHlch(53.21, 88.33, 317.20°)
OKLaboklab(62.5% 0.1538 -0.1692)
OKLCHoklch(62.5% 0.229 312.3)
XYZxyz(36.4149, 21.2429, 78.5103)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FE8 #82E84F
analogous
#684FE8 #B54FE8 #E84FCE
triadic
#B54FE8 #E8B54F #4FE8B5
tetradic
#B54FE8 #E8684F #82E84F #4FCEE8
square
#B54FE8 #E8684F #82E84F #4FCEE8
split-complementary
#B54FE8 #CEE84F #4FE868
monochromatic
#7616A7 #9D1DDD #B54FE8 #CC85EF #E3BBF6

Accessibility & contrast

On white

4.00
#B54FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B54FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FE8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FE8#FFFFFF#000000##000000
##B54FE81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#4181E5
Tritanopia (blue-blind)
#AF6E95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54fe8;
/* rgb */ color: rgb(181, 79, 232);
/* oklch */ color: oklch(62.5% 0.229 312.3);
Tailwind
colors: {
  custom: {
    50: '#cf87f0',
    500: '#b54fe8',
    950: '#000000',
  },
}
SCSS
$custom: #b54fe8;
$custom-light: #cf87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fe8",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 280,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62498,
    "c": 0.22867,
    "h": 312.3
  },
  "luminance": 0.21242
}

Semantic roles & 50–950 ramp

primary
#B54FE8
secondary
#C0E6AD
accent
#D90C51
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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