#B54FBC#B54FBC

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

Color values

HEX#B54FBC
RGBrgb(181, 79, 188)
HSLhsl(296, 45%, 52%)
HSVhsv(296, 58%, 74%)
CMYKcmyk(3.7%, 58%, 0%, 26.3%)
CIE-LABlab(50.74, 56.22, -38.83)
CIE-LCHlch(50.74, 68.33, 325.37°)
OKLaboklab(59.91% 0.1536 -0.1074)
OKLCHoklch(59.91% 0.187 325)
XYZxyz(30.9284, 19.0483, 49.6148)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FBC #56BC4F
analogous
#7F4FBC #B54FBC #BC4F8C
triadic
#B54FBC #BCB54F #4FBCB5
tetradic
#B54FBC #BC7F4F #56BC4F #4F8CBC
square
#B54FBC #BC7F4F #56BC4F #4F8CBC
split-complementary
#B54FBC #8CBC4F #4FBC7F
monochromatic
#652869 #8F3995 #B54FBC #C87BCD #DAA8DE

Accessibility & contrast

On white

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

On black

4.81
#B54FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FBC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FBC#FFFFFF#000000##000000
##B54FBC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F71BF
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#B95E7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54fbc;
/* rgb */ color: rgb(181, 79, 188);
/* oklch */ color: oklch(59.9% 0.187 325.0);
Tailwind
colors: {
  custom: {
    50: '#ce86d0',
    500: '#b54fbc',
    950: '#000000',
  },
}
SCSS
$custom: #b54fbc;
$custom-light: #ce86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fbc",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 296.147,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59914,
    "c": 0.18743,
    "h": 325
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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