#B54FBB#B54FBB

#B54FBB is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.9% C 0.187 H 325.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B54FBB
RGBrgb(181, 79, 187)
HSLhsl(297, 44%, 52%)
HSVhsv(297, 58%, 73%)
CMYKcmyk(3.2%, 57.8%, 0%, 26.7%)
CIE-LABlab(50.69, 56.04, -38.33)
CIE-LCHlch(50.69, 67.89, 325.63°)
OKLaboklab(59.86% 0.1535 -0.1059)
OKLCHoklch(59.86% 0.187 325.4)
XYZxyz(30.8210, 19.0053, 49.0491)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FBB #55BB4F
analogous
#7F4FBB #B54FBB #BB4F8B
triadic
#B54FBB #BBB54F #4FBBB5
tetradic
#B54FBB #BB7F4F #55BB4F #4F8BBB
square
#B54FBB #BB7F4F #55BB4F #4F8BBB
split-complementary
#B54FBB #8BBB4F #4FBB7F
monochromatic
#642868 #8F3994 #B54FBB #C87BCC #DAA7DD

Accessibility & contrast

On white

4.37
#B54FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B54FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FBB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FBB#FFFFFF#000000##000000
##B54FBB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071BE
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#B95D7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54fbb;
/* rgb */ color: rgb(181, 79, 187);
/* oklch */ color: oklch(59.9% 0.187 325.4);
Tailwind
colors: {
  custom: {
    50: '#ce86d0',
    500: '#b54fbb',
    950: '#000000',
  },
}
SCSS
$custom: #b54fbb;
$custom-light: #ce86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fbb",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 296.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.18653,
    "h": 325.4
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#B54FBB
secondary
#9ECA9B
accent
#D4545B
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B54FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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