#B54EE5#B54EE5

#B54EE5 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.2% C 0.227 H 313.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B54EE5
RGBrgb(181, 78, 229)
HSLhsl(281, 74%, 60%)
HSVhsv(281, 66%, 90%)
CMYKcmyk(21%, 65.9%, 0%, 10.2%)
CIE-LABlab(52.87, 64.63, -58.87)
CIE-LCHlch(52.87, 87.42, 317.67°)
OKLaboklab(62.19% 0.1551 -0.1658)
OKLCHoklch(62.19% 0.227 313.1)
XYZxyz(35.9208, 20.9307, 76.2614)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EE5 #7EE54E
analogous
#694EE5 #B54EE5 #E54ECA
triadic
#B54EE5 #E5B54E #4EE5B5
tetradic
#B54EE5 #E5694E #7EE54E #4ECAE5
square
#B54EE5 #E5694E #7EE54E #4ECAE5
split-complementary
#B54EE5 #CAE54E #4EE569
monochromatic
#7518A1 #9C1FD6 #B54EE5 #CB83ED #E2B9F5

Accessibility & contrast

On white

4.05
#B54EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54EE5#FFFFFF#000000##000000
##B54EE51.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#4381E2
Tritanopia (blue-blind)
#B06C93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54ee5;
/* rgb */ color: rgb(181, 78, 229);
/* oklch */ color: oklch(62.2% 0.227 313.1);
Tailwind
colors: {
  custom: {
    50: '#cf87ee',
    500: '#b54ee5',
    950: '#000000',
  },
}
SCSS
$custom: #b54ee5;
$custom-light: #cf87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ee5",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 280.927,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62194,
    "c": 0.22708,
    "h": 313.1
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#B54EE5
secondary
#BDE4AA
accent
#D70F4E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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