#B54FC5#B54FC5

#B54FC5 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.4% C 0.196 H 322.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B54FC5
RGBrgb(181, 79, 197)
HSLhsl(292, 50%, 54%)
HSVhsv(292, 60%, 77%)
CMYKcmyk(8.1%, 59.9%, 0%, 22.7%)
CIE-LABlab(51.21, 57.89, -43.29)
CIE-LCHlch(51.21, 72.29, 323.21°)
OKLaboklab(60.4% 0.1542 -0.1203)
OKLCHoklch(60.4% 0.196 322)
XYZxyz(31.9290, 19.4485, 54.8846)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FC5 #5FC54F
analogous
#7A4FC5 #B54FC5 #C54F9A
triadic
#B54FC5 #C5B54F #4FC5B5
tetradic
#B54FC5 #C57A4F #5FC54F #4F9AC5
square
#B54FC5 #C57A4F #5FC54F #4F9AC5
split-complementary
#B54FC5 #9AC54F #4FC57A
monochromatic
#692674 #9335A2 #B54FC5 #C87DD4 #DCABE3

Accessibility & contrast

On white

4.30
#B54FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B54FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FC5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FC5#FFFFFF#000000##000000
##B54FC51.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3772C9
Deuteranopia (green-blind)
#5D7EC2
Tritanopia (blue-blind)
#B76183
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54fc5;
/* rgb */ color: rgb(181, 79, 197);
/* oklch */ color: oklch(60.4% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#ce86d7',
    500: '#b54fc5',
    950: '#000000',
  },
}
SCSS
$custom: #b54fc5;
$custom-light: #ce86d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fc5",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 291.864,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.19562,
    "h": 322
  },
  "luminance": 0.19447
}

Semantic roles & 50–950 ramp

primary
#B54FC5
secondary
#A6D19F
accent
#DA4E61
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B54FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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