#B54BE8#B54BE8

#B54BE8 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.1% C 0.234 H 312.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B54BE8
RGBrgb(181, 75, 232)
HSLhsl(281, 77%, 60%)
HSVhsv(281, 68%, 91%)
CMYKcmyk(22%, 67.7%, 0%, 9%)
CIE-LABlab(52.60, 66.52, -60.99)
CIE-LCHlch(52.60, 90.25, 317.48°)
OKLaboklab(62.06% 0.1581 -0.172)
OKLCHoklch(62.06% 0.234 312.6)
XYZxyz(36.1350, 20.6831, 78.4170)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BE8 #7EE84B
analogous
#674BE8 #B54BE8 #E84BCC
triadic
#B54BE8 #E8B54B #4BE8B5
tetradic
#B54BE8 #E8674B #7EE84B #4BCCE8
square
#B54BE8 #E8674B #7EE84B #4BCCE8
split-complementary
#B54BE8 #CCE84B #4BE867
monochromatic
#7515A4 #9C1CDA #B54BE8 #CB81EF #E2B8F6

Accessibility & contrast

On white

4.09
#B54BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B54BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BE8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BE8#FFFFFF#000000##000000
##B54BE81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#3D80E4
Tritanopia (blue-blind)
#AF6B94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54be8;
/* rgb */ color: rgb(181, 75, 232);
/* oklch */ color: oklch(62.1% 0.234 312.6);
Tailwind
colors: {
  custom: {
    50: '#cf85f0',
    500: '#b54be8',
    950: '#000000',
  },
}
SCSS
$custom: #b54be8;
$custom-light: #cf85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54be8",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 280.51,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.23366,
    "h": 312.6
  },
  "luminance": 0.20682
}

Semantic roles & 50–950 ramp

primary
#B54BE8
secondary
#BDE6A9
accent
#DA0C4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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