#B54FE6#B54FE6

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

Color values

HEX#B54FE6
RGBrgb(181, 79, 230)
HSLhsl(281, 75%, 61%)
HSVhsv(281, 66%, 90%)
CMYKcmyk(21.3%, 65.7%, 0%, 9.8%)
CIE-LABlab(53.09, 64.40, -59.08)
CIE-LCHlch(53.09, 87.39, 317.47°)
OKLaboklab(62.37% 0.154 -0.1665)
OKLCHoklch(62.37% 0.227 312.8)
XYZxyz(36.1324, 21.1299, 77.0227)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FE6 #80E64F
analogous
#694FE6 #B54FE6 #E64FCB
triadic
#B54FE6 #E6B54F #4FE6B5
tetradic
#B54FE6 #E6694F #80E64F #4FCBE6
square
#B54FE6 #E6694F #80E64F #4FCBE6
split-complementary
#B54FE6 #CBE64F #4FE669
monochromatic
#7617A3 #9D1FD9 #B54FE6 #CC85EE #E2BAF5

Accessibility & contrast

On white

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

On black

5.23
#B54FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FE6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FE6#FFFFFF#000000##000000
##B54FE61.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#4381E3
Tritanopia (blue-blind)
#B06D94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54fe6;
/* rgb */ color: rgb(181, 79, 230);
/* oklch */ color: oklch(62.4% 0.227 312.8);
Tailwind
colors: {
  custom: {
    50: '#cf87ef',
    500: '#b54fe6',
    950: '#000000',
  },
}
SCSS
$custom: #b54fe6;
$custom-light: #cf87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fe6",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 280.53,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.22676,
    "h": 312.8
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

primary
#B54FE6
secondary
#BEE5AC
accent
#D70E4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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