#B54CCE#B54CCE

#B54CCE is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.208 H 319.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B54CCE
RGBrgb(181, 76, 206)
HSLhsl(288, 57%, 55%)
HSVhsv(288, 63%, 81%)
CMYKcmyk(12.1%, 63.1%, 0%, 19.2%)
CIE-LABlab(51.21, 60.94, -48.46)
CIE-LCHlch(51.21, 77.86, 321.51°)
OKLaboklab(60.56% 0.1581 -0.1354)
OKLCHoklch(60.56% 0.208 319.4)
XYZxyz(32.7797, 19.4504, 60.4082)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CCE #65CE4C
analogous
#744CCE #B54CCE #CE4CA6
triadic
#B54CCE #CEB54C #4CCEB5
tetradic
#B54CCE #CE744C #65CE4C #4CA6CE
square
#B54CCE #CE744C #65CE4C #4CA6CE
split-complementary
#B54CCE #A6CE4C #4CCE74
monochromatic
#6C227D #952FAD #B54CCE #C97CDB #DDACE8

Accessibility & contrast

On white

4.29
#B54CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B54CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CCE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CCE#FFFFFF#000000##000000
##B54CCE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#B56286
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54cce;
/* rgb */ color: rgb(181, 76, 206);
/* oklch */ color: oklch(60.6% 0.208 319.4);
Tailwind
colors: {
  custom: {
    50: '#ce85dd',
    500: '#b54cce',
    950: '#000000',
  },
}
SCSS
$custom: #b54cce;
$custom-light: #ce85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cce",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 288.462,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.20812,
    "h": 319.4
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#B54CCE
secondary
#AAD6A0
accent
#E04865
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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