#B54FCE#B54FCE

#B54FCE is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 60.9% C 0.204 H 319.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B54FCE
RGBrgb(181, 79, 206)
HSLhsl(288, 56%, 56%)
HSVhsv(288, 62%, 81%)
CMYKcmyk(12.1%, 61.7%, 0%, 19.2%)
CIE-LABlab(51.69, 59.61, -47.69)
CIE-LCHlch(51.69, 76.34, 321.34°)
OKLaboklab(60.91% 0.1545 -0.1331)
OKLCHoklch(60.91% 0.204 319.3)
XYZxyz(32.9912, 19.8734, 60.4787)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FCE #68CE4F
analogous
#754FCE #B54FCE #CE4FA7
triadic
#B54FCE #CEB54F #4FCEB5
tetradic
#B54FCE #CE754F #68CE4F #4FA7CE
square
#B54FCE #CE754F #68CE4F #4FA7CE
split-complementary
#B54FCE #A7CE4F #4FCE75
monochromatic
#6D237F #9631AF #B54FCE #C97FDB #DDAFE9

Accessibility & contrast

On white

4.22
#B54FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B54FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FCE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FCE#FFFFFF#000000##000000
##B54FCE1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#B56487
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54fce;
/* rgb */ color: rgb(181, 79, 206);
/* oklch */ color: oklch(60.9% 0.204 319.3);
Tailwind
colors: {
  custom: {
    50: '#ce86dd',
    500: '#b54fce',
    950: '#000000',
  },
}
SCSS
$custom: #b54fce;
$custom-light: #ce86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fce",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 288.189,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60913,
    "c": 0.20397,
    "h": 319.3
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#B54FCE
secondary
#ACD7A2
accent
#E04866
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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