#B54FC3#B54FC3

#B54FC3 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.3% C 0.194 H 322.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B54FC3
RGBrgb(181, 79, 195)
HSLhsl(293, 49%, 54%)
HSVhsv(293, 59%, 76%)
CMYKcmyk(7.2%, 59.5%, 0%, 23.5%)
CIE-LABlab(51.10, 57.51, -42.31)
CIE-LCHlch(51.10, 71.40, 323.66°)
OKLaboklab(60.29% 0.1541 -0.1175)
OKLCHoklch(60.29% 0.194 322.7)
XYZxyz(31.7014, 19.3575, 53.6857)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FC3 #5DC34F
analogous
#7B4FC3 #B54FC3 #C34F97
triadic
#B54FC3 #C3B54F #4FC3B5
tetradic
#B54FC3 #C37B4F #5DC34F #4F97C3
square
#B54FC3 #C37B4F #5DC34F #4F97C3
split-complementary
#B54FC3 #97C34F #4FC37B
monochromatic
#682771 #92369F #B54FC3 #C87DD3 #DBAAE2

Accessibility & contrast

On white

4.31
#B54FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B54FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FC3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FC3#FFFFFF#000000##000000
##B54FC31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3972C7
Deuteranopia (green-blind)
#5E7EC0
Tritanopia (blue-blind)
#B86082
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54fc3;
/* rgb */ color: rgb(181, 79, 195);
/* oklch */ color: oklch(60.3% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#ce86d5',
    500: '#b54fc3',
    950: '#000000',
  },
}
SCSS
$custom: #b54fc3;
$custom-light: #ce86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fc3",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 292.759,
    "s": 49.153,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60292,
    "c": 0.19378,
    "h": 322.7
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#B54FC3
secondary
#A4D09E
accent
#D94F60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B54FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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