#B54EE7#B54EE7

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

Color values

HEX#B54EE7
RGBrgb(181, 78, 231)
HSLhsl(280, 76%, 61%)
HSVhsv(280, 66%, 91%)
CMYKcmyk(21.6%, 66.2%, 0%, 9.4%)
CIE-LABlab(53.00, 65.04, -59.80)
CIE-LCHlch(53.00, 88.35, 317.40°)
OKLaboklab(62.32% 0.155 -0.1685)
OKLCHoklch(62.32% 0.229 312.6)
XYZxyz(36.2017, 21.0431, 77.7405)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EE7 #80E74E
analogous
#684EE7 #B54EE7 #E74ECC
triadic
#B54EE7 #E7B54E #4EE7B5
tetradic
#B54EE7 #E7684E #80E74E #4ECCE7
square
#B54EE7 #E7684E #80E74E #4ECCE7
split-complementary
#B54EE7 #CCE74E #4EE768
monochromatic
#7616A4 #9D1EDA #B54EE7 #CC84EE #E2BAF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54EE7#FFFFFF#000000##000000
##B54EE71.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)
#0079EC
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#B06D94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54ee7;
/* rgb */ color: rgb(181, 78, 231);
/* oklch */ color: oklch(62.3% 0.229 312.6);
Tailwind
colors: {
  custom: {
    50: '#cf87ef',
    500: '#b54ee7',
    950: '#000000',
  },
}
SCSS
$custom: #b54ee7;
$custom-light: #cf87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ee7",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 280.392,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62322,
    "c": 0.22898,
    "h": 312.6
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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