#B54BCC#B54BCC

#B54BCC is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.3% C 0.208 H 320.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B54BCC
RGBrgb(181, 75, 204)
HSLhsl(289, 56%, 55%)
HSVhsv(289, 63%, 80%)
CMYKcmyk(11.3%, 63.2%, 0%, 20%)
CIE-LABlab(50.94, 60.99, -47.74)
CIE-LCHlch(50.94, 77.46, 321.95°)
OKLaboklab(60.33% 0.1592 -0.1333)
OKLCHoklch(60.33% 0.208 320.1)
XYZxyz(32.4699, 19.2171, 59.1140)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BCC #62CC4B
analogous
#744BCC #B54BCC #CC4BA3
triadic
#B54BCC #CCB54B #4BCCB5
tetradic
#B54BCC #CC744B #62CC4B #4BA3CC
square
#B54BCC #CC744B #62CC4B #4BA3CC
split-complementary
#B54BCC #A3CC4B #4BCC74
monochromatic
#6A237A #9430AA #B54BCC #C97BDA #DCAAE7

Accessibility & contrast

On white

4.34
#B54BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B54BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BCC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BCC#FFFFFF#000000##000000
##B54BCC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#B66185
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54bcc;
/* rgb */ color: rgb(181, 75, 204);
/* oklch */ color: oklch(60.3% 0.208 320.1);
Tailwind
colors: {
  custom: {
    50: '#ce84dc',
    500: '#b54bcc',
    950: '#000000',
  },
}
SCSS
$custom: #b54bcc;
$custom-light: #ce84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bcc",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 289.302,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60331,
    "c": 0.20764,
    "h": 320.1
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#B54BCC
secondary
#A8D59E
accent
#DF4963
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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