#B54FBD#B54FBD

#B54FBD is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.188 H 324.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B54FBD
RGBrgb(181, 79, 189)
HSLhsl(296, 45%, 53%)
HSVhsv(296, 58%, 74%)
CMYKcmyk(4.2%, 58.2%, 0%, 25.9%)
CIE-LABlab(50.79, 56.40, -39.33)
CIE-LCHlch(50.79, 68.76, 325.11°)
OKLaboklab(59.97% 0.1537 -0.1088)
OKLCHoklch(59.97% 0.188 324.7)
XYZxyz(31.0366, 19.0916, 50.1845)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FBD #57BD4F
analogous
#7E4FBD #B54FBD #BD4F8E
triadic
#B54FBD #BDB54F #4FBDB5
tetradic
#B54FBD #BD7E4F #57BD4F #4F8EBD
square
#B54FBD #BD7E4F #57BD4F #4F8EBD
split-complementary
#B54FBD #8EBD4F #4FBD7E
monochromatic
#65286A #903896 #B54FBD #C87CCE #DAA8DE

Accessibility & contrast

On white

4.36
#B54FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B54FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FBD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FBD#FFFFFF#000000##000000
##B54FBD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C0
Deuteranopia (green-blind)
#627DBA
Tritanopia (blue-blind)
#B95E7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54fbd;
/* rgb */ color: rgb(181, 79, 189);
/* oklch */ color: oklch(60.0% 0.188 324.7);
Tailwind
colors: {
  custom: {
    50: '#ce86d1',
    500: '#b54fbd',
    950: '#000000',
  },
}
SCSS
$custom: #b54fbd;
$custom-light: #ce86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fbd",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 295.636,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59967,
    "c": 0.18833,
    "h": 324.7
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#B54FBD
secondary
#9FCC9C
accent
#D5535C
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B54FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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