#B54FE4#B54FE4

#B54FE4 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.2% C 0.225 H 313.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B54FE4
RGBrgb(181, 79, 228)
HSLhsl(281, 73%, 60%)
HSVhsv(281, 65%, 89%)
CMYKcmyk(20.6%, 65.4%, 0%, 10.6%)
CIE-LABlab(52.97, 63.99, -58.15)
CIE-LCHlch(52.97, 86.46, 317.74°)
OKLaboklab(62.24% 0.1541 -0.1637)
OKLCHoklch(62.24% 0.225 313.3)
XYZxyz(35.8532, 21.0182, 75.5520)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FE4 #7EE44F
analogous
#6B4FE4 #B54FE4 #E44FC8
triadic
#B54FE4 #E4B54F #4FE4B5
tetradic
#B54FE4 #E46B4F #7EE44F #4FC8E4
square
#B54FE4 #E46B4F #7EE44F #4FC8E4
split-complementary
#B54FE4 #C8E44F #4FE46B
monochromatic
#7519A0 #9C21D5 #B54FE4 #CB84EC #E2B9F4

Accessibility & contrast

On white

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

On black

5.20
#B54FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FE4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FE4#FFFFFF#000000##000000
##B54FE41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#B06C93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54fe4;
/* rgb */ color: rgb(181, 79, 228);
/* oklch */ color: oklch(62.2% 0.225 313.3);
Tailwind
colors: {
  custom: {
    50: '#cf87ed',
    500: '#b54fe4',
    950: '#000000',
  },
}
SCSS
$custom: #b54fe4;
$custom-light: #cf87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fe4",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 281.074,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62244,
    "c": 0.22484,
    "h": 313.3
  },
  "luminance": 0.21017
}

Semantic roles & 50–950 ramp

primary
#B54FE4
secondary
#BDE4AB
accent
#D6104E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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