#B54EE8#B54EE8

#B54EE8 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.4% C 0.230 H 312.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B54EE8
RGBrgb(181, 78, 232)
HSLhsl(280, 77%, 61%)
HSVhsv(280, 66%, 91%)
CMYKcmyk(22%, 66.4%, 0%, 9%)
CIE-LABlab(53.06, 65.24, -60.26)
CIE-LCHlch(53.06, 88.81, 317.27°)
OKLaboklab(62.39% 0.1549 -0.1699)
OKLCHoklch(62.39% 0.23 312.4)
XYZxyz(36.3433, 21.0997, 78.4864)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EE8 #81E84E
analogous
#684EE8 #B54EE8 #E84ECE
triadic
#B54EE8 #E8B54E #4EE8B5
tetradic
#B54EE8 #E8684E #81E84E #4ECEE8
square
#B54EE8 #E8684E #81E84E #4ECEE8
split-complementary
#B54EE8 #CEE84E #4EE868
monochromatic
#7616A6 #9D1DDC #B54EE8 #CC84EF #E2BAF6

Accessibility & contrast

On white

4.02
#B54EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B54EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54EE8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EE8#FFFFFF#000000##000000
##B54EE81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#4081E4
Tritanopia (blue-blind)
#AF6D95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54ee8;
/* rgb */ color: rgb(181, 78, 232);
/* oklch */ color: oklch(62.4% 0.230 312.4);
Tailwind
colors: {
  custom: {
    50: '#cf87f0',
    500: '#b54ee8',
    950: '#000000',
  },
}
SCSS
$custom: #b54ee8;
$custom-light: #cf87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ee8",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 280.13,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62386,
    "c": 0.22994,
    "h": 312.4
  },
  "luminance": 0.21099
}

Semantic roles & 50–950 ramp

primary
#B54EE8
secondary
#BFE6AC
accent
#D90C50
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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