#B54FBE#B54FBE

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

Color values

HEX#B54FBE
RGBrgb(181, 79, 190)
HSLhsl(295, 46%, 53%)
HSVhsv(295, 58%, 75%)
CMYKcmyk(4.7%, 58.4%, 0%, 25.5%)
CIE-LABlab(50.84, 56.59, -39.83)
CIE-LCHlch(50.84, 69.20, 324.86°)
OKLaboklab(60.02% 0.1538 -0.1103)
OKLCHoklch(60.02% 0.189 324.4)
XYZxyz(31.1455, 19.1351, 50.7581)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FBE #58BE4F
analogous
#7D4FBE #B54FBE #BE4F90
triadic
#B54FBE #BEB54F #4FBEB5
tetradic
#B54FBE #BE7D4F #58BE4F #4F90BE
square
#B54FBE #BE7D4F #58BE4F #4F90BE
split-complementary
#B54FBE #90BE4F #4FBE7D
monochromatic
#66286B #903898 #B54FBE #C87CCF #DBA8DF

Accessibility & contrast

On white

4.35
#B54FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B54FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FBE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FBE#FFFFFF#000000##000000
##B54FBE1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C1
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#B85E7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54fbe;
/* rgb */ color: rgb(181, 79, 190);
/* oklch */ color: oklch(60.0% 0.189 324.4);
Tailwind
colors: {
  custom: {
    50: '#ce86d2',
    500: '#b54fbe',
    950: '#000000',
  },
}
SCSS
$custom: #b54fbe;
$custom-light: #ce86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fbe",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 295.135,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.18924,
    "h": 324.4
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#B54FBE
secondary
#A0CC9C
accent
#D6525D
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B54FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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