#B54FE5#B54FE5

#B54FE5 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.3% C 0.226 H 313.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B54FE5
RGBrgb(181, 79, 229)
HSLhsl(281, 74%, 60%)
HSVhsv(281, 66%, 90%)
CMYKcmyk(21%, 65.5%, 0%, 10.2%)
CIE-LABlab(53.03, 64.19, -58.62)
CIE-LCHlch(53.03, 86.93, 317.60°)
OKLaboklab(62.31% 0.154 -0.1651)
OKLCHoklch(62.31% 0.226 313)
XYZxyz(35.9924, 21.0739, 76.2852)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FE5 #7FE54F
analogous
#6A4FE5 #B54FE5 #E54FCA
triadic
#B54FE5 #E5B54F #4FE5B5
tetradic
#B54FE5 #E56A4F #7FE54F #4FCAE5
square
#B54FE5 #E56A4F #7FE54F #4FCAE5
split-complementary
#B54FE5 #CAE54F #4FE56A
monochromatic
#7618A2 #9C20D7 #B54FE5 #CB84ED #E2BAF5

Accessibility & contrast

On white

4.03
#B54FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B54FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FE5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FE5#FFFFFF#000000##000000
##B54FE51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#4481E2
Tritanopia (blue-blind)
#B06D94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54fe5;
/* rgb */ color: rgb(181, 79, 229);
/* oklch */ color: oklch(62.3% 0.226 313.0);
Tailwind
colors: {
  custom: {
    50: '#cf87ee',
    500: '#b54fe5',
    950: '#000000',
  },
}
SCSS
$custom: #b54fe5;
$custom-light: #cf87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fe5",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 280.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62307,
    "c": 0.2258,
    "h": 313
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#B54FE5
secondary
#BEE5AB
accent
#D60F4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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