#B54FE7#B54FE7

#B54FE7 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.4% C 0.228 H 312.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B54FE7
RGBrgb(181, 79, 231)
HSLhsl(280, 76%, 61%)
HSVhsv(280, 66%, 91%)
CMYKcmyk(21.6%, 65.8%, 0%, 9.4%)
CIE-LABlab(53.15, 64.60, -59.54)
CIE-LCHlch(53.15, 87.86, 317.33°)
OKLaboklab(62.43% 0.1539 -0.1678)
OKLCHoklch(62.43% 0.228 312.5)
XYZxyz(36.2733, 21.1862, 77.7644)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FE7 #81E74F
analogous
#694FE7 #B54FE7 #E74FCD
triadic
#B54FE7 #E7B54F #4FE7B5
tetradic
#B54FE7 #E7694F #81E74F #4FCDE7
square
#B54FE7 #E7694F #81E74F #4FCDE7
split-complementary
#B54FE7 #CDE74F #4FE769
monochromatic
#7617A5 #9D1EDB #B54FE7 #CC85EE #E2BBF6

Accessibility & contrast

On white

4.01
#B54FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B54FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FE7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FE7#FFFFFF#000000##000000
##B54FE71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#4281E4
Tritanopia (blue-blind)
#AF6E95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b54fe7;
/* rgb */ color: rgb(181, 79, 231);
/* oklch */ color: oklch(62.4% 0.228 312.5);
Tailwind
colors: {
  custom: {
    50: '#cf87ef',
    500: '#b54fe7',
    950: '#000000',
  },
}
SCSS
$custom: #b54fe7;
$custom-light: #cf87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fe7",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 280.263,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62434,
    "c": 0.22772,
    "h": 312.5
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#B54FE7
secondary
#BFE6AC
accent
#D80D50
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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