#B54BCE#B54BCE

#B54BCE is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.4% C 0.209 H 319.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B54BCE
RGBrgb(181, 75, 206)
HSLhsl(289, 57%, 55%)
HSVhsv(289, 64%, 81%)
CMYKcmyk(12.1%, 63.6%, 0%, 19.2%)
CIE-LABlab(51.05, 61.38, -48.71)
CIE-LCHlch(51.05, 78.36, 321.56°)
OKLaboklab(60.45% 0.1592 -0.1361)
OKLCHoklch(60.45% 0.209 319.5)
XYZxyz(32.7113, 19.3136, 60.3854)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BCE #64CE4B
analogous
#744BCE #B54BCE #CE4BA5
triadic
#B54BCE #CEB54B #4BCEB5
tetradic
#B54BCE #CE744B #64CE4B #4BA5CE
square
#B54BCE #CE744B #64CE4B #4BA5CE
split-complementary
#B54BCE #A5CE4B #4BCE74
monochromatic
#6B227D #952FAD #B54BCE #C97BDB #DDABE8

Accessibility & contrast

On white

4.32
#B54BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B54BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BCE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BCE#FFFFFF#000000##000000
##B54BCE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#B56186
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54bce;
/* rgb */ color: rgb(181, 75, 206);
/* oklch */ color: oklch(60.4% 0.209 319.5);
Tailwind
colors: {
  custom: {
    50: '#ce84dd',
    500: '#b54bce',
    950: '#000000',
  },
}
SCSS
$custom: #b54bce;
$custom-light: #ce84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bce",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 288.55,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.20948,
    "h": 319.5
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#B54BCE
secondary
#A9D69F
accent
#E04765
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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