#B54EE6#B54EE6

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

Color values

HEX#B54EE6
RGBrgb(181, 78, 230)
HSLhsl(281, 75%, 60%)
HSVhsv(281, 66%, 90%)
CMYKcmyk(21.3%, 66.1%, 0%, 9.8%)
CIE-LABlab(52.93, 64.83, -59.33)
CIE-LCHlch(52.93, 87.88, 317.54°)
OKLaboklab(62.26% 0.1551 -0.1672)
OKLCHoklch(62.26% 0.228 312.8)
XYZxyz(36.0609, 20.9867, 76.9988)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EE6 #7FE64E
analogous
#694EE6 #B54EE6 #E64ECB
triadic
#B54EE6 #E6B54E #4EE6B5
tetradic
#B54EE6 #E6694E #7FE64E #4ECBE6
square
#B54EE6 #E6694E #7FE64E #4ECBE6
split-complementary
#B54EE6 #CBE64E #4EE669
monochromatic
#7617A3 #9C1FD8 #B54EE6 #CB84EE #E2B9F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54EE6#FFFFFF#000000##000000
##B54EE61.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)
#0079EB
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#B06D94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54ee6;
/* rgb */ color: rgb(181, 78, 230);
/* oklch */ color: oklch(62.3% 0.228 312.8);
Tailwind
colors: {
  custom: {
    50: '#cf87ef',
    500: '#b54ee6',
    950: '#000000',
  },
}
SCSS
$custom: #b54ee6;
$custom-light: #cf87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ee6",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 280.658,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62258,
    "c": 0.22803,
    "h": 312.8
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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