#B54CBE#B54CBE

#B54CBE is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.7% C 0.194 H 324.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B54CBE
RGBrgb(181, 76, 190)
HSLhsl(295, 47%, 52%)
HSVhsv(295, 60%, 75%)
CMYKcmyk(4.7%, 60%, 0%, 25.5%)
CIE-LABlab(50.35, 57.94, -40.61)
CIE-LCHlch(50.35, 70.76, 324.98°)
OKLaboklab(59.66% 0.1575 -0.1125)
OKLCHoklch(59.66% 0.194 324.5)
XYZxyz(30.9340, 18.7121, 50.6876)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CBE #55BE4C
analogous
#7C4CBE #B54CBE #BE4C8E
triadic
#B54CBE #BEB54C #4CBEB5
tetradic
#B54CBE #BE7C4C #55BE4C #4C8EBE
square
#B54CBE #BE7C4C #55BE4C #4C8EBE
split-complementary
#B54CBE #8EBE4C #4CBE7C
monochromatic
#642669 #8F3796 #B54CBE #C879CE #DAA6DF

Accessibility & contrast

On white

4.43
#B54CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B54CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CBE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CBE#FFFFFF#000000##000000
##B54CBE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#B95C7E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54cbe;
/* rgb */ color: rgb(181, 76, 190);
/* oklch */ color: oklch(59.7% 0.194 324.5);
Tailwind
colors: {
  custom: {
    50: '#ce84d2',
    500: '#b54cbe',
    950: '#000000',
  },
}
SCSS
$custom: #b54cbe;
$custom-light: #ce84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cbe",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 295.263,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.19359,
    "h": 324.5
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#B54CBE
secondary
#9ECC9A
accent
#D6515C
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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