#B54DE8#B54DE8

#B54DE8 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.3% C 0.231 H 312.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B54DE8
RGBrgb(181, 77, 232)
HSLhsl(280, 77%, 61%)
HSVhsv(280, 67%, 91%)
CMYKcmyk(22%, 66.8%, 0%, 9%)
CIE-LABlab(52.90, 65.67, -60.51)
CIE-LCHlch(52.90, 89.30, 317.34°)
OKLaboklab(62.28% 0.156 -0.1706)
OKLCHoklch(62.28% 0.231 312.4)
XYZxyz(36.2728, 20.9587, 78.4629)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DE8 #80E84D
analogous
#674DE8 #B54DE8 #E84DCD
triadic
#B54DE8 #E8B54D #4DE8B5
tetradic
#B54DE8 #E8674D #80E84D #4DCDE8
square
#B54DE8 #E8674D #80E84D #4DCDE8
split-complementary
#B54DE8 #CDE84D #4DE867
monochromatic
#7615A5 #9D1CDB #B54DE8 #CC83EF #E2B9F6

Accessibility & contrast

On white

4.04
#B54DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B54DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DE8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DE8#FFFFFF#000000##000000
##B54DE81.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#3F80E4
Tritanopia (blue-blind)
#AF6D95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54de8;
/* rgb */ color: rgb(181, 77, 232);
/* oklch */ color: oklch(62.3% 0.231 312.4);
Tailwind
colors: {
  custom: {
    50: '#cf86f0',
    500: '#b54de8',
    950: '#000000',
  },
}
SCSS
$custom: #b54de8;
$custom-light: #cf86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54de8",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 280.258,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62276,
    "c": 0.23119,
    "h": 312.4
  },
  "luminance": 0.20958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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